parameter¶
-
class
sysdynpy.parameter.Parameter(*args, **kwargs)[source]¶ Bases:
sysdynpy.systemelement.SystemElementStores fixed values.
Parameters don’t have input elements. That means, the value of a parameter, once set, will not change during the simulation.
-
__init__(name, value, system, var_name)[source]¶ Constructor method.
- Parameters
name (str) – The element name. Can not be empty. Must be unique within the system.
value (int or float) – The numeric value that is used in calculations.
system (System) – The system that this element shall be part of.
var_name (str) – The name of the variable this element will be assigned to, once it is constructed. This is needed because the variable name has to be known in other modules to execute the lambda expression that defines the calculation rule.
-
property
name¶ see
__init__()
-
property
system¶ see
__init__()
-
property
value¶ The numeric value that is used in calculations.
- Type
int or float
-
property
var_name¶ see
__init__()
-