Package org.kigalisim.engine.support
Class PrechargeVolumeCalculator
java.lang.Object
org.kigalisim.engine.support.PrechargeVolumeCalculator
Calculator for precharge volume operations.
Calculates the volume of substance needed for precharge (servicing of new equipment before sale), as opposed to recharge (servicing of existing equipment).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineNumbercalculatePrechargeVolume(UseKey scope, StateGetter stateGetter, SimulationState simulationState, Engine engine) Calculate the precharge volume for the given application and substance.
-
Constructor Details
-
PrechargeVolumeCalculator
public PrechargeVolumeCalculator()
-
-
Method Details
-
calculatePrechargeVolume
public static EngineNumber calculatePrechargeVolume(UseKey scope, StateGetter stateGetter, SimulationState simulationState, Engine engine) Calculate the precharge volume for the given application and substance.- Parameters:
scope- The scope containing application and substancestateGetter- The state getter for unit conversionssimulationState- The simulation state for accessing precharge dataengine- The engine for getting stream values- Returns:
- The precharge volume in kg
-