modelChattering
In this model, the simulation fails after a few hundred second. Setting the max derivative to 40 in the evaporator solves the problem
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Mass | m_wf | Total mass of the working fluid in the cycle | |
| ThermoCycle.Components.Units.HeatExchangers.Hx1DConst | evaporator | ||
| ThermoCycle.Components.FluidFlow.Reservoirs.SourceCdot | source_Cdot | ||
| ThermoCycle.Components.Units.PdropAndValves.DP | dp_hp | ||
| ThermoCycle.Components.Units.ExpansionAndCompressionMachines.Expander | expander | ||
| Modelica.Blocks.Sources.Ramp | N_rot | ||
| ThermoCycle.Components.Units.ExpansionAndCompressionMachines.ElectricDrive | generatorNext | ||
| ThermoCycle.Components.Units.HeatExchangers.Hx1D | recuperator | ||
| ThermoCycle.Components.Units.PdropAndValves.DP | dp_lp | ||
| ThermoCycle.Components.Units.HeatExchangers.Hx1DConst | condenser | ||
| ThermoCycle.Components.FluidFlow.Reservoirs.SourceCdot | heat_sink | ||
| ThermoCycle.Components.Units.ExpansionAndCompressionMachines.Pump | pump | ||
| Modelica.Blocks.Sources.Sine | sine | ||
| ThermoCycle.Components.Units.Tanks.Tank_pL | tank |