modelThermostaticallyControlled
Thload - Thermostatically Controlled Load
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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.ApparentPower | Sn (from baseLoad) | S_b | Power rating |
| Real | Kl | 2 | Ceiling conductance output |
| Real | Kp | 10 | Gain of the proportional controller [pu/pu] |
| Real | Ki | 25 | Gain of the integral controller [pu/pu] |
| Types.Time | Ti | 10 | Time constant of integral controller |
| Types.Time | T1 | 1200 | Time constant of the thermal load |
| Modelica.Units.NonSI.Temperature_degC | T_ref | 70 | Reference temperature |
| Modelica.Units.NonSI.Temperature_degC | T0 | 10 | Initial temperature |
| Types.PerUnit | G0 | P_0/100*v_0^2 | Initial conductance |
| Types.PerUnit | Gmax | Kl*G0 | Maximum conductance |
| Types.PerUnit | Gmin | 0 | Minimum conductance |
| Real | K1 | (T_ref - T0)/P_0 | Active power gain [pu/pu] |
| Real | K3 | 1 | Gain anti wind-up |
| Power flow data | |||
| Types.ApparentPower | S_b (from pfComponent) | SysData.S_b | System base power |
| Types.Voltage | V_b (from pfComponent) | 400e3 | Base voltage of the bus |
| Types.Frequency | fn (from pfComponent) | SysData.fn | System frequency |
| Types.ActivePower | P_0 (from pfComponent) | 1e6 | Initial active power |
| Types.ReactivePower | Q_0 (from pfComponent) | 0 | Initial reactive power |
| Types.PerUnit | v_0 (from pfComponent) | 1 | Initial voltage magnitude |
| Types.Angle | angle_0 (from pfComponent) | 0 | Initial voltage angle |
| Boolean | displayPF (from pfComponent) | false | Display power flow: |
| Parameter mask | |||
| Boolean | enableS_b (from pfComponent) | false | Enable S_b in parameter list |
| Boolean | enableV_b (from pfComponent) | false | Enable V_b in parameter list |
| Boolean | enablefn (from pfComponent) | false | Enable fn in parameter list |
| Boolean | enableP_0 (from pfComponent) | false | Enable P_0 in parameter list |
| Boolean | enableQ_0 (from pfComponent) | false | Enable Q_0 in parameter list |
| Boolean | enablev_0 (from pfComponent) | false | Enable v_0 in parameter list |
| Boolean | enableangle_0 (from pfComponent) | false | Enable angle_0 in parameter list |
| Boolean | enabledisplayPF (from pfComponent) | false | Enable displayPF in parameter list |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PwPin | p (from baseLoad) | ||
| Modelica.Blocks.Interfaces.RealInput | t_ref | Reference temperature | |
| Modelica.Blocks.Interfaces.RealInput | t_a | Ambient temperature |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Electrical.SystemBase | SysData (from pfComponent) | Must add this line in all models | |
| Types.PerUnit | v (from baseLoad) | Voltage magnitude | |
| Types.Angle | anglev (from baseLoad) | Voltage angle | |
| Types.PerUnit | P (from baseLoad) | Active power | |
| Types.PerUnit | Q (from baseLoad) | Reactive power | |
| OpenIPSL.NonElectrical.Continuous.SimpleLag | firstOrder | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Continuous.LimIntegrator | Limiter | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Nonlinear.Limiter | Limiter1 | ||
| Modelica.Blocks.Math.Add | add4 | ||
| Modelica.Blocks.Math.Gain | gain2 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression |