Buildings.Electrical.Transmission.Functions.Validation

Information

This package contains validation models for the classes in Buildings.Electrical.Transmission.Functions.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low SelectCable_low Validation model for the function that selects the cable
Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med SelectCable_med Validation model for the function that selects the cable

Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low

Validation model for the function that selects the cable

Information

This model validates Buildings.Electrical.Transmission.Functions.selectCable_low for a different range of currents.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
VoltageV_nominal480Rated voltage [V]
PowerP_nominal[:]I_nominal*V_nominal/safety_f...Rated power [W]
CurrentI_nominal[:]{65,95,110,130,170,220,230} ...Nominal current [A]
Realsafety_factor1.2Safety factor
Genericcab[:]Buildings.Electrical.Transmi...Selected cable

Modelica definition

model SelectCable_low "Validation model for the function that selects the cable" extends Modelica.Icons.Example; parameter Modelica.SIunits.Voltage V_nominal = 480 "Rated voltage"; parameter Modelica.SIunits.Power[:] P_nominal = I_nominal*V_nominal/safety_factor "Rated power"; parameter Modelica.SIunits.Current[:] I_nominal = {65, 95, 110, 130, 170, 220, 230}.-10 "Nominal current"; parameter Real safety_factor = 1.2 "Safety factor"; parameter Buildings.Electrical.Transmission.LowVoltageCables.Generic[:] cab = Buildings.Electrical.Transmission.Functions.selectCable_low( P_nominal = P_nominal, V_nominal = V_nominal) "Selected cable"; end SelectCable_low;

Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med

Validation model for the function that selects the cable

Information

This model validates Buildings.Electrical.Transmission.Functions.selectCable_med for a different range of currents.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
VoltageV_nominal25e3Rated voltage [V]
PowerP_nominal[:]I_nominal*V_nominal/safety_f...Rated power [W]
CurrentI_nominal[:]{195,250,285,375,450,640,800...Nominal current [A]
Realsafety_factor1.2Safety factor
Genericcab[:]Buildings.Electrical.Transmi...Selected cable

Modelica definition

model SelectCable_med "Validation model for the function that selects the cable" extends Modelica.Icons.Example; parameter Modelica.SIunits.Voltage V_nominal = 25e3 "Rated voltage"; parameter Modelica.SIunits.Power[:] P_nominal = I_nominal*V_nominal/safety_factor "Rated power"; parameter Modelica.SIunits.Current[:] I_nominal = {195, 250, 285, 375, 450, 640, 800}.-10 "Nominal current"; parameter Real safety_factor = 1.2 "Safety factor"; parameter Buildings.Electrical.Transmission.MediumVoltageCables.Generic[:] cab = Buildings.Electrical.Transmission.Functions.selectCable_med( P_nominal = P_nominal, V_nominal = V_nominal) "Selected cable"; end SelectCable_med;