localdynamics
knowledge.simulation.localdynamics
Functions
| Name | Description |
|---|---|
| order_by_equations | Orders the derived_variables dictionary based on the key order of the dependent_equations dictionary. |
order_by_equations
knowledge.simulation.localdynamics.order_by_equations(
derived_variables,
dependent_equations,
)Orders the derived_variables dictionary based on the key order of the dependent_equations dictionary.
Parameters: derived_variables (dict): Dictionary to be ordered. dependent_equations (dict): Dictionary providing the key order for sorting.
Returns: dict: A new dictionary ordered by the key order from dependent_equations.