vclibpy.components.expansion_valves package
Submodules
vclibpy.components.expansion_valves.bernoulli module
Module with simple bernoulli expansion valve
- class vclibpy.components.expansion_valves.bernoulli.Bernoulli(A)[source]
Bases:
ExpansionValve
Simple Bernoulli model.
- Args:
A (float): Cross-sectional area of the expansion valve.
vclibpy.components.expansion_valves.expansion_valve module
Module with classes for EV models. They are not used for the calculation. They may be used to see if the output is correct.
- class vclibpy.components.expansion_valves.expansion_valve.ExpansionValve(A)[source]
Bases:
BaseComponent
,ABC
Base class for an expansion valve.
- Args:
A (float): Cross-sectional area of the expansion valve.
- abstract calc_m_flow_at_opening(opening) float [source]
Calculate the mass flow rate for the given opening.
- Args:
opening (float): Opening of valve between 0 and 1
- Returns:
float: Mass flow rate in kg/s