Package org.kigalisim.engine.support
Class RechargeVolumeCalculator
java.lang.Object
org.kigalisim.engine.support.RechargeVolumeCalculator
Calculator for recharge volume operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineNumbercalculateRechargeVolume(UseKey scope, StateGetter stateGetter, SimulationState simulationState, Engine engine) Calculate the recharge volume for the given application and substance.
-
Constructor Details
-
RechargeVolumeCalculator
public RechargeVolumeCalculator()Constructs a new RechargeVolumeCalculator.
-
-
Method Details
-
calculateRechargeVolume
public static EngineNumber calculateRechargeVolume(UseKey scope, StateGetter stateGetter, SimulationState simulationState, Engine engine) Calculate the recharge 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 recharge dataengine- The engine for getting stream values- Returns:
- The recharge volume in kg
-