modelThermostaticallyControlled

Thload - Thermostatically Controlled Load
Diagram of ThermostaticallyControlled

Extends from OpenIPSL.Electrical.Loads.PSAT.BaseClasses.baseLoad (Base load for PSAT models).

Information

This load defines a dynamic load with temperature control. This component is initialized after the power flow solution and needs a PQ load connected at the same bus.

For more information see [Milano2013], section "16.6 Thermostatically Controlled Load".

Parameters

TypeNameDefaultDescription
Types.ApparentPowerSn (from baseLoad)S_bPower rating
RealKl2Ceiling conductance output
RealKp10Gain of the proportional controller [pu/pu]
RealKi25Gain of the integral controller [pu/pu]
Types.TimeTi10Time constant of integral controller
Types.TimeT11200Time constant of the thermal load
Modelica.Units.NonSI.Temperature_degCT_ref70Reference temperature
Modelica.Units.NonSI.Temperature_degCT010Initial temperature
Types.PerUnitG0P_0/100*v_0^2Initial conductance
Types.PerUnitGmaxKl*G0Maximum conductance
Types.PerUnitGmin0Minimum conductance
RealK1(T_ref - T0)/P_0Active power gain [pu/pu]
RealK31Gain anti wind-up
Power flow data
Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
Types.Angleangle_0 (from pfComponent)0Initial voltage angle
BooleandisplayPF (from pfComponent)falseDisplay power flow:
Parameter mask
BooleanenableS_b (from pfComponent)falseEnable S_b in parameter list
BooleanenableV_b (from pfComponent)falseEnable V_b in parameter list
Booleanenablefn (from pfComponent)falseEnable fn in parameter list
BooleanenableP_0 (from pfComponent)falseEnable P_0 in parameter list
BooleanenableQ_0 (from pfComponent)falseEnable Q_0 in parameter list
Booleanenablev_0 (from pfComponent)falseEnable v_0 in parameter list
Booleanenableangle_0 (from pfComponent)falseEnable angle_0 in parameter list
BooleanenabledisplayPF (from pfComponent)falseEnable displayPF in parameter list

Connectors

TypeNameDefaultDescription
Interfaces.PwPinp (from baseLoad)
Modelica.Blocks.Interfaces.RealInputt_refReference temperature
Modelica.Blocks.Interfaces.RealInputt_aAmbient temperature

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models
Types.PerUnitv (from baseLoad)Voltage magnitude
Types.Angleanglev (from baseLoad)Voltage angle
Types.PerUnitP (from baseLoad)Active power
Types.PerUnitQ (from baseLoad)Reactive power
OpenIPSL.NonElectrical.Continuous.SimpleLagfirstOrder
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Continuous.LimIntegratorLimiter
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Nonlinear.LimiterLimiter1
Modelica.Blocks.Math.Addadd4
Modelica.Blocks.Math.Gaingain2
Modelica.Blocks.Sources.RealExpressionrealExpression