Buildings.Controls.OBC.UnitConversions
Package with blocks for unit conversion
Information
Package with blocks for unit conversions.
Package Content
Name | Description |
---|---|
From_Btu | Block that converts energy from British thermal units to joule |
From_BtuPerHour | Block that converts power from British thermal units per hour to watt |
From_bar | Block that converts pressure from bar to pascal |
From_cfm | Block that converts volume flow from cubic feet per minute to cubic meters per second |
From_degC | Block that converts temperature from degree Celsius to kelvin |
From_degF | Block that converts temperature from degree Fahrenheit to kelvin |
From_gal | Block that converts volume from gallon to cubic meter |
From_hp | Block that converts power from horsepower to watt |
From_inH2O | Block that converts pressure from inch of water gauge (at 60 degF) to pascal |
From_psi | Block that converts pressure from pound-force per square inch to pascal |
From_quad | Block that converts energy from quads to joule |
From_ton | Block that converts power from ton of refrigeration to watt |
To_Btu | Block that converts energy from joule to British thermal units |
To_BtuPerHour | Block that converts power from watt to British thermal units per hour |
To_bar | Block that converts pressure from pascal to bar |
To_cfm | Block that converts volume flow from cubic meters per second to cubic feet per minute |
To_degC | Block that converts temperature from kelvin to degree Celsius |
To_degF | Block that converts temperature from kelvin to degree Fahrenheit |
To_gal | Block that converts volume from cubic meter to gallon |
To_hp | Block that converts power from watt to horsepower |
To_inH2O | Block that converts pressure from pascal to inch of water gauge (at 60 degF) |
To_psi | Block that converts pressure from pascal to pound-force per square inch |
To_quad | Block that converts energy from joule to quads |
To_ton | Block that converts power from watt to ton of refrigeration |
Validation | Collection of models that validate the unit conversion blocks of the CDL |
Buildings.Controls.OBC.UnitConversions.From_Btu
Block that converts energy from British thermal units to joule
Information
Converts energy given in British thermal units [Btu] to joule [J].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Energy in British thermal units |
output RealOutput | y | Energy in joule [J] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_BtuPerHour
Block that converts power from British thermal units per hour to watt
Information
Converts power given in British thermal units per hour [Btu/h] to watt [W].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in British thermal units per hour |
output RealOutput | y | Power in watt [W] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_bar
Block that converts pressure from bar to pascal
Information
Converts pressure given in bar [bar] to pascal [Pa].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in bar [bar] |
output RealOutput | y | Pressure in pascal [Pa] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_cfm
Block that converts volume flow from cubic feet per minute to cubic meters per second
Information
Converts volume flow given in cubic feet per minute [cfm] to cubic meters per second [m3/s].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Volume flow in cubic feet per minute |
output RealOutput | y | Volume flow in cubic meters per second [m3/s] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_degC
Block that converts temperature from degree Celsius to kelvin
Information
Converts temperature given in degree Celsius [degC] to kelvin [K].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Temperature in degree Celsius [degC] |
output RealOutput | y | Temperature in kelvin [K] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_degF
Block that converts temperature from degree Fahrenheit to kelvin
Information
Converts temperature given in degree Fahrenheit [degF] to kelvin [K].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Temperature in degree Fahrenheit [degF] |
output RealOutput | y | Temperature in kelvin [K] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_gal
Block that converts volume from gallon to cubic meter
Information
Converts volume given in gallon [gal] to cubic meter [m3].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Volume in gallon |
output RealOutput | y | Volume in cubic meter [m3] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_hp
Block that converts power from horsepower to watt
Information
Converts power given in horsepower [hp] to watt [W].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in horsepower |
output RealOutput | y | Power in watt [W] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_inH2O
Block that converts pressure from inch of water gauge (at 60 degF) to pascal
Information
Converts pressure given in inch of water gauge (at 60 degF) [inH2O] to pascal [Pa].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in inch of water gauge (at 60 degF) |
output RealOutput | y | Pressure in pascal [Pa] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_psi
Block that converts pressure from pound-force per square inch to pascal
Information
Converts pressure given in pound-force per square inch [psi] to pascal [Pa].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in pound-force per square inch |
output RealOutput | y | Pressure in pascal [Pa] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_quad
Block that converts energy from quads to joule
Information
Converts energy given in quads [quad] to joule [J].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Energy in quads |
output RealOutput | y | Energy in joule [J] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.From_ton
Block that converts power from ton of refrigeration to watt
Information
Converts power given in ton of refrigeration [ton] to watt [W].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in ton of refrigeration |
output RealOutput | y | Power in watt [W] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_Btu
Block that converts energy from joule to British thermal units
Information
Converts energy given in joule [J] to British thermal units [Btu].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Energy in joule [J] |
output RealOutput | y | Energy in British thermal units |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_BtuPerHour
Block that converts power from watt to British thermal units per hour
Information
Converts power given in watt [W] to British thermal units per hour [Btu/h].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in watt [W] |
output RealOutput | y | Power in British thermal units per hour |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_bar
Block that converts pressure from pascal to bar
Information
Converts pressure given in pascal [Pa] to bar [bar].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in pascal [Pa] |
output RealOutput | y | Pressure in bar [bar] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_cfm
Block that converts volume flow from cubic meters per second to cubic feet per minute
Information
Converts volume flow given in cubic meters per second [m3/s] to cubic feet per minute [cfm].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Volume flow in cubic meters per second [m3/s] |
output RealOutput | y | Volume flow in cubic feet per minute |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_degC
Block that converts temperature from kelvin to degree Celsius
Information
Converts temperature given in kelvin [K] to degree Celsius [degC].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Temperature in kelvin [K] |
output RealOutput | y | Temperature in degree Celsius [degC] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_degF
Block that converts temperature from kelvin to degree Fahrenheit
Information
Converts temperature given in kelvin [K] to degree Fahrenheit [degF].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Temperature in kelvin [K] |
output RealOutput | y | Temperature in degree Fahrenheit [degF] |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_gal
Block that converts volume from cubic meter to gallon
Information
Converts volume given in cubic meter [m3] to gallon [gal].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Volume in cubic meter [m3] |
output RealOutput | y | Volume in gallon |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_hp
Block that converts power from watt to horsepower
Information
Converts power given in watt [W] to horsepower [hp].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in watt [W] |
output RealOutput | y | Power in horsepower |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_inH2O
Block that converts pressure from pascal to inch of water gauge (at 60 degF)
Information
Converts pressure given in pascal [Pa] to inch of water gauge (at 60 degF) [inH2O].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in pascal [Pa] |
output RealOutput | y | Pressure in inch of water gauge (at 60 degF) |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_psi
Block that converts pressure from pascal to pound-force per square inch
Information
Converts pressure given in pascal [Pa] to pound-force per square inch [psi].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Pressure in pascal [Pa] |
output RealOutput | y | Pressure in pound-force per square inch |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_quad
Block that converts energy from joule to quads
Information
Converts energy given in joule [J] to quads [quad].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Energy in joule [J] |
output RealOutput | y | Energy in quads |
Modelica definition
Buildings.Controls.OBC.UnitConversions.To_ton
Block that converts power from watt to ton of refrigeration
Information
Converts power given in watt [W] to ton of refrigeration [ton].
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Power in watt [W] |
output RealOutput | y | Power in ton of refrigeration |