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

TypeNameDefaultDescription
Modelica.SIunits.Massm_wfTotal mass of the working fluid in the cycle
ThermoCycle.Components.Units.HeatExchangers.Hx1DConstevaporator
ThermoCycle.Components.FluidFlow.Reservoirs.SourceCdotsource_Cdot
ThermoCycle.Components.Units.PdropAndValves.DPdp_hp
ThermoCycle.Components.Units.ExpansionAndCompressionMachines.Expanderexpander
Modelica.Blocks.Sources.RampN_rot
ThermoCycle.Components.Units.ExpansionAndCompressionMachines.ElectricDrivegeneratorNext
ThermoCycle.Components.Units.HeatExchangers.Hx1Drecuperator
ThermoCycle.Components.Units.PdropAndValves.DPdp_lp
ThermoCycle.Components.Units.HeatExchangers.Hx1DConstcondenser
ThermoCycle.Components.FluidFlow.Reservoirs.SourceCdotheat_sink
ThermoCycle.Components.Units.ExpansionAndCompressionMachines.Pumppump
Modelica.Blocks.Sources.Sinesine
ThermoCycle.Components.Units.Tanks.Tank_pLtank