solver.matrix.index_core_quantity

Classes for storing core quantities of the matrix.

class omotes_simulator_core.solver.matrix.index_core_quantity.IndexCoreQuantity

Bases: object

Enum for the index of the matrix.

This is used to store the order of the core quants in the matrix. The number of core quantities is the maximum number of core quantities used. for the indices these should be in increasing order. This is not checked.

get_index(property_name: str) int

Method to get the index of the property.

get_index_property(property_name: str, connection_point: int) int

Method to get the property of the index.

internal_energy = 2
mass_flow_rate = 0
number_core_quantities = 3
pressure = 1