ThermofluidStream
ThermofluidStream copied to clipboard
The DLR Thermofluid Stream Library
Added components: Boundaries.AccelerationBoundary; sets a global acceleration vector Processes.StaticHead; adds or subtracts static head depending on acceleration and positions Boundaries.TankCuboid; a tank for incompressible + gas media, which takes into...
To inform about the newest additions and updates of the library, we will host a **ThermofluidStream Community Event** and kindly welcome you to join! Furthermore we would like to use...
In several models, vectorized connections are realized in the equation section by for-loops like: ``` for i in 1:n loop connect(...); end for; ``` For models implemented graphically, such connections...
Corrected error dynamic viscosity vs. kinematic viscosity and put an example in there that might help you for further discussion closes #139
Added assert(relativeHumidty
Unfortunatly there is no mass flow rate source yet, altough quite some models use it indirectly adapting the pressure in a control loop, see e.g. `ThermofluidStream.Undirected.HeatExchangers.Tests`.
Currently some ThermofluidStream models use `replaceable function` to consider different behavior of models, especially e.g. `ThermofluidStream.Processes.FlowResistance` pressure loss function and `ThermofluidStream.Processes.Internal.PartialTurboComponent` pressure difference function. Currently for functions only outputs are...
Currently Open Modelica cant display cross flow heat exchangers inlets/outlets correctly (`ThermofluidStream.HeatExchangers.CrossFlowNTU`, `ThermofluidStream.HeatExchangers.DiscretizedCrossFlowHEX`, `ThermofluidStream.HeatExchangers.DiscretizedCrossFlowHEX_FR`), since the annotation `rotation=if crossFlow then -90` for inlets/outlets seems to be ignored by Open Modelica....
`ThermofluidStream.Processes.Compressor`, `ThermofluidStream.Processes.Fan` and `ThermofluidStream.Processes.Turbine` checks if ideal gas law is applicable using: ``` Real R_in(unit="J/(kg.K)") = p_in/Medium.temperature(inlet.state)/Medium.density(inlet.state); Real R_out(unit="J/(kg.K)") = p_out/Medium.temperature(outlet.state)/Medium.density(outlet.state); equation // test for ideal gas assert(abs(R_in- R_in)/R_in <...
Dear ThermoFluidStream developers, please check the latest OpenModelica [regression test report](https://libraries.openmodelica.org/branches/history/master/2024-03-06%2022:42:24..2024-03-07%2022:25:06.html). There are a few ThermoFluidStream models that fail since we fixed ticket OpenModelica/OpenModelica#10386. According to the latest version of...