Package with example models
Information
This package contains examples for the use of models that can be found in
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name |
Description |
GeneralizedSensor
|
Example model for generalized sensor |
Probe
|
This example illustrates how to use the probe model |
Example model for generalized sensor
Information
This example illustrates the use of the generalized sensor.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
This example illustrates how to use the probe model
Information
This example illustrates the use of the probe model.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model Probe
extends Modelica.Icons.Example;
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive loaRC(
mode=Buildings.Electrical.Types.Load.FixedZ_steady_state,
P_nominal=-10000,
V_nominal=480) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage sou(f=60, V=
480) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Lines.TwoPortResistance res1(R=0.1) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe probe_source(V_nominal=
480) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe probe_loadRC(V_nominal=
480) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Lines.TwoPortResistance res2(R=0.1) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Inductive loaRL(
mode=Buildings.Electrical.Types.Load.FixedZ_steady_state,
P_nominal=-10000,
V_nominal=480) ;
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe probe_loadRL(V_nominal=
480) ;
equation
connect(sou.terminal, res1.terminal_n);
connect(res1.terminal_p, loaRC.terminal);
connect(sou.terminal, probe_source.term);
connect(loaRC.terminal, probe_loadRC.term);
connect(sou.terminal, res2.terminal_n);
connect(res2.terminal_p, loaRL.terminal);
connect(loaRL.terminal, probe_loadRL.term);
end Probe;
http://simulationresearch.lbl.gov/modelica