modelElectricityMeter
Electricity meter for electric energy consumption
Extends from Modelica.Icons.RoundSensor (Icon representing a round measurement device).
Information
This model is an electricity meter that integrates input eletric power into energy, with the option to output the activation time when the power is greater than 0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_itgTim | false | = true, activate integral timers |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | P | Electric power | |
| Modelica.Blocks.Interfaces.RealOutput | E | Electric energy | |
| Modelica.Blocks.Interfaces.RealOutput | timeAct | Activation time of consumption |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySign | itg | Integration electric energy | |
| Modelica.Blocks.Sources.Constant | conZero | Constant zero | |
| AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralTimer | itgTim | Integral timer for consumption |
Revisions
-
January 8, 2025, by Jun Jiang:
First implementation (see issue 1534)