3.3.4 GlobalSubcircuits
Command structure of GlobalSubcircuits.
With GlobalSubcircuits you can inspect the contents of the global subcircuit database. GlobalSubcircuits returns a list of the names and selectors of the subcircuits stored in the database.
GlobalSubcircuits not only returns the name under which a model was loaded but also all alias names assigned to the model definition. For example, "Diode", "DC" | "Transient" denotes a model definition which can be accessed through Name -> "Diode", Selector -> "DC" as well through Name -> "Diode", Selector -> "Transient".
See also: FindModel, GlobalModelParameters.
Examples
Load Analog Insydes.
In[1]:= <<AnalogInsydes`
Load two model definitions from the model library and store them in the global subcircuit database.
In[2]:= Circuit[ LoadModel["Diode", "Transient", Scope -> Global], LoadModel["JFET", "AC", Scope -> Global] ] // ExpandSubcircuits;
List the contents of the global subcircuit database.
In[3]:= GlobalSubcircuits[]
Out[3]=
|