Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

@keigo, those curves are used during initialization of the VRF system and only happens 1 time at the beginning of the simulation. Think of these as more of a sizing input for autosizing. Output of these curves is not available during the simulation.

if (CheckVRFCombinationRatio(VRFCond)) {

    if (state.dataHVACVarRefFlow->VRF(VRFCond).CoolCombRatioPTR > 0) {
        state.dataHVACVarRefFlow->CoolCombinationRatio(VRFCond) = CurveValue(
            state, state.dataHVACVarRefFlow->VRF(VRFCond).CoolCombRatioPTR, state.dataHVACVarRefFlow->VRF(VRFCond).CoolingCombinationRatio);
    } else {
        state.dataHVACVarRefFlow->CoolCombinationRatio(VRFCond) = 1.0;
    }

    CheckVRFCombinationRatio(VRFCond) = false;
}

The results of these curves is shown in the eio file:

if (state.dataHVACVarRefFlow->MyOneTimeEIOFlag) {
    static constexpr std::string_view Format_990(
        "! <VRF System Information>, VRF System Type, VRF System Name, VRF System Cooling Combination Ratio, VRF "
        "System Heating Combination Ratio, VRF System Cooling Piping Correction Factor, VRF System Heating Piping "
        "Correction Factor\n");
    print(state.files.eio, Format_990);
    state.dataHVACVarRefFlow->MyOneTimeEIOFlag = false;
}
print(state.files.eio,
      Format_991,
      cVRFTypes(state.dataHVACVarRefFlow->VRF(VRFCond).VRFSystemTypeNum),
      state.dataHVACVarRefFlow->VRF(VRFCond).Name,
      state.dataHVACVarRefFlow->VRF(VRFCond).CoolingCombinationRatio,
      state.dataHVACVarRefFlow->VRF(VRFCond).HeatingCombinationRatio,
      state.dataHVACVarRefFlow->VRF(VRFCond).PipingCorrectionCooling,
      state.dataHVACVarRefFlow->VRF(VRFCond).PipingCorrectionHeating);