casasglobal-org / psymple

GNU General Public License v3.0
1 stars 1 forks source link

System composition clarity #43

Open GJHSimmons opened 3 months ago

GJHSimmons commented 3 months ago

A dynamic complex system model is described by:

Differential equations and functions are described by VariablePortedObject and FunctionalPortedObject classes, respectively. The core component of FunctionalPortedObject classes are ParameterAssignment classes, which store the correspondence between a SymbolContainer and sympy.Expression object.

The class ParameterAssignment is also used to store:

It is proposed to subclass ParameterAssignment to differentiate between those assignments coming from FunctionalPortedObject classes, and the other assignments listed above. This will aid clarity in being able to provide the model description described above.

Further subclassing is proposed to differentiate between different parameter assignments, differentiating between those produced by CompositePortedObject classes, and moreover the default parameter assignments produced by InputPort classes of: