State_name ( str) – The name of the custom configuration state to remove. Remove an existing custom state from this layer Parameters : remove_state ( state_name : str ) → None ¶ New_name ( str) – Name of the new configuration to create. add_state ( new_name : str ) → None ¶Ĭreate a new custom configuration name for list layer Parameters : parameters ( parameters : Dict = None, ** kwargs ) → Optional ] ¶Ī dictionary of current parameters, if no parameters were given. The project this layer belongs to (read-only) Layer. The following attributes and methods may be accessed: Layer. Set_name ( str) – Set name to save (default is currently active set)Īfter a layer has been retrieved with Project.layer(), Parameters :įilename ( str) – Filename for the CSV file Save global substitution set to a CSV file. save_set ( filename : str, set_name : str = None ) → None ¶ New_name ( str) – Desired name of the substitution variable Old_name ( str) – Current name of the substitution variable Rename a global substitution variable Parameters : rename ( old_name : str, new_name : str ) → bool ¶ *val_names ( str) – One or more names of variables to be deleted GlobalSubstitution. Removes 1 or more named global substitution variables Parameters : *val_names ( str) – One or more new variable names GlobalSubstitution. create ( * val_names : str ) → None ¶Ĭreates 1 or more named global substitution variables. New_name ( str) – Desired name of the substitution set Old_name ( str) – Current name of the substitution set Rename a global substitution set Parameters : rename_set ( old_name : str, new_name : str ) → bool ¶ *set_names ( str) – One or more names of sets to be deleted GlobalSubstitution. Removes 1 or more named global substitution sets Parameters : remove_sets ( * set_names : str ) → None ¶ *set_names ( str) – One or more names for the new sets GlobalSubstitution. create_sets ( * set_names : str ) → None ¶Ĭreates 1 or more named global substitution sets Parameters : Setting this to "" or None reverts to the default set. Set to the desired global substitution set name to change Returns the name of the currently active substitution set, The currently active global substitution set. items (): print ( name, "=", value ) freq = 50.0 VBase = Sets ¶ GlobalSubstitution. global_substitution > for name, value in gs. global_substitution )) # Print active global substitutions: > gs = prj. active_set = "Set1" # List all global substitution sets > list ( prj. global_substitution = "60.0 " # Default set prj. Or an empty list if no matching components are found. For example, Voltage=”230 ” will not matchĬomponents with a Voltage parameter value of “230.0 ”. Parameter names and values must matchĮxactly. Key=value – A keyword list specifying additional parameters Layer ( str) – only return components on the given layer (optional) “Bus”, “TLine”, “Cable”, “GraphFrame”, “Sticky”, orĬontains a colon, it is treated as the definition name. If no definition was given, and if the provided name is Name ( str) – the component’s name, as given by a parameter “Sticky”, or a colon-seperated definition name, such as Parameters :ĭefinition ( str) – One of “Bus”, “TLine”, “Cable”, “GraphFrame”, find_all ( name,] ) ¶įind all components that match the given criteria. Run config 0=Standalone, 1=Master, 2=Slave Timed Snapshot: 0=None, 1=Single, 2=Incremental (same file), 3=Incremental (multiple file) Start simulation: 0=Standard, 1=From Snapshot File **kwargs – Zero or more name=value keyword parametersĪ dictionary of current parameters, if no parameters were given. Parameters ( dict) – A dictionary of name=value parameters Get or set project parameters Parameters : parameters ( parameters : Dict = None, ** kwargs ) → Optional ] ¶
0 Comments
Leave a Reply. |