Class PrechargeVolumeCalculator

java.lang.Object
org.kigalisim.engine.support.PrechargeVolumeCalculator

public class PrechargeVolumeCalculator extends Object
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 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 substance
      stateGetter - The state getter for unit conversions
      simulationState - The simulation state for accessing precharge data
      engine - The engine for getting stream values
      Returns:
      The precharge volume in kg