The library describes the components of a thermodynamic process at a system level, focusing on the interactions between inputs and outputs of a component. It is thus considered as a 0D modeling approach.
There is no detailed description of the physical phenomena, but a focus on the macro behaviour of the components. It is a thermalhydraulic description of the system, focusing on computing pressures, mass flow rates and enthalpies throughout the system. All MML models are described at steady state : there are no time depending equations.
MML was built based on the TSP library (https://thermosyspro.com/), but it has some some key differences :
h_vol
solution used in TSP (and in previous versions of MML, until MML2.4)Here are the connector variables types we use in MML :
flow
variable used for mass flow rate and powerstream
variable used for enthalpy and mass fractionReference units in all the library are defined by the International System of Units: Kelvin (K) for temperature, Pascal (Pa) for the absolute pressure, kg/s for the flow, and meters for the length.
For other units, sensors must be used and provides an automatic conversion. See Sensors
Each component of the library is designed to be locally balanced to help the user to identify singularity of the global model during compilation. To understand the distinctions between global and local balances, the reader may read the following page :
What are local/global balances ?