I am trying to implement the CPS Energy General Service PL rate structure in San Antonio, TX as an injection to the EnergyPlus 9.2.0 IDF file generated by OpenStudio 2.9.1. It has an effective demand that is the actual demand in excess of 5 kW, and a resulting threshold energy that is the sum of 1600 kWh and the product of the effective demand and 200 kWh/kW. Due to this seeming complexity, I was not able to implement this using UtilityCost:Charge:Simple or UtilityCost:Charge:Block, so am now trying with UtilityCost:Computation and several UtilityCost:Variable. A first problem is that the UtilityCost:Variable BaseDemand has to be "Dimensionless", because neither "Demand" nor "Power" are recognized as the Variable Type, though this may be minor. Much more importantly, after the run completes, the EnergyPlus Tariff Report correctly shows the various UtilityCost:Variable, but most of the variables defined in UtilityCost:Computation are zero. Below is my complete attempt (apologies for the length). Does anyone know how to get this to work?
UtilityCost:Tariff, CPS_General_Service_PL, !- Name Electricity:Facility, !- Charge Variable name kWh, !- Conversion Factor Choice , !- Energy Conversion Factor , !- Demand Conversion Factor , !- Time of Use Period Schedule Name SeasonSchedule, !- Season Schedule Name MonthSchedule, !- Month Schedule Name QuarterHour, !- Demand Window Length 8.75, !- Monthly Charge or Variable Name , !- Minimum Monthly Charge or Variable Name , !- Real Time Pricing Charge Schedule Name , !- Customer Baseline Load Schedule Name , !- Group Name BuyFromUtility; !- Buy Or Sell
UtilityCost:Variable, BaseDemand, !- Name CPS_General_Service_PL, !- Tariff Name Dimensionless, !- Variable Type 5.0, !- January Value 5.0, !- February Value 5.0, !- March Value 5.0, !- April Value 5.0, !- May Value 5.0, !- June Value 5.0, !- July Value 5.0, !- August Value 5.0, !- September Value 5.0, !- October Value 5.0, !- November Value 5.0; !- December Value
UtilityCost:Variable, BaseHours, !- Name CPS_General_Service_PL, !- Tariff Name Dimensionless, !- Variable Type 200.0, !- January Value 200.0, !- February Value 200.0, !- March Value 200.0, !- April Value 200.0, !- May Value 200.0, !- June Value 200.0, !- July Value 200.0, !- August Value 200.0, !- September Value 200.0, !- October Value 200.0, !- November Value 200.0; !- December Value
UtilityCost:Variable, BaseUsage, !- Name CPS_General_Service_PL, !- Tariff Name Dimensionless, !- Variable Type 1600.0, !- January Value 1600.0, !- February Value 1600.0, !- March Value 1600.0, !- April Value 1600.0, !- May Value 1600.0, !- June Value 1600.0, !- July Value 1600.0, !- August Value 1600.0, !- September Value 1600.0, !- October Value 1600.0, !- November Value 1600.0; !- December Value
UtilityCost:Variable, CapacityUsage, !- Name CPS_General_Service_PL, !- Tariff Name Dimensionless, !- Variable Type 600.0, !- January Value 600.0, !- February Value 600.0, !- March Value 600.0, !- April Value 600.0, !- May Value 600.0, !- June Value 600.0, !- July Value 600.0, !- August Value 600.0, !- September Value 600.0, !- October Value 600.0, !- November Value 600.0; !- December Value
UtilityCost:Variable, AvailabilityCharge, !- Name CPS_General_Service_PL, !- Tariff Name Currency, !- Variable Type 8.75, !- January Value 8.75, !- February Value 8.75, !- March Value 8.75, !- April Value 8.75, !- May Value 8.75, !- June Value 8.75, !- July Value 8.75, !- August Value 8.75, !- September Value 8.75, !- October Value 8.75, !- November Value 8.75; !- December Value
UtilityCost:Variable, DemandRate, !- Name CPS_General_Service_PL, !- Tariff Name Currency, !- Variable Type 4.0, !- January Value 4.0, !- February Value 4.0, !- March Value 4.0, !- April Value 4.0, !- May Value 4.0, !- June Value 4.0, !- July Value 4.0, !- August Value 4.0, !- September Value 4.0, !- October Value 4.0, !- November Value 4.0; !- December Value
UtilityCost:Variable, LowerUsageRate, !- Name CPS_General_Service_PL, !- Tariff Name Currency, !- Variable Type 0.0719, !- January Value 0.0719, !- February Value 0.0719, !- March Value 0.0719, !- April Value 0.0719, !- May Value 0.0719, !- June Value 0.0719, !- July Value 0.0719, !- August Value 0.0719, !- September Value 0.0719, !- October Value 0.0719, !- November Value 0.0719; !- December Value
UtilityCost:Variable, UpperUsageRate, !- Name CPS_General_Service_PL, !- Tariff Name Currency, !- Variable Type 0.0332, !- January Value 0.0332, !- February Value 0.0332, !- March Value 0.0332, !- April Value 0.0332, !- May Value 0.0332, !- June Value 0.0332, !- July Value 0.0332, !- August Value 0.0332, !- September Value 0.0332, !- October Value 0.0332, !- November Value 0.0332; !- December Value
UtilityCost:Variable, CapacityRate, !- Name CPS_General_Service_PL, !- Tariff Name Currency, !- Variable Type 0.0100, !- January Value 0.0100, !- February Value 0.0100, !- March Value 0.0100, !- April Value 0.0100, !- May Value 0.0198, !- June Value 0.0198, !- July Value 0.0198, !- August Value 0.0198, !- September Value 0.0100, !- October Value 0.0100, !- November Value 0.0100; !- December Value
UtilityCost:Computation, CustomComputation, !- Name CPS_General_Service_PL, !- Tariff Name Demand EXCEEDS TotalDemand BaseDemand, !- Step 1 DemandCharge MULTIPLY Demand DemandRate, !- Step 2 DemandUsage MULTIPLY Demand BaseHours, !- Step 3 ThresholdUsage ADD BaseUsage DemandUsage, !- Step 4 LowerUsage MINIMUM TotalEnergy ThresholdUsage, !- Step 5 UpperUsage EXCEEDS TotalEnergy ThresholdUsage, !- Step 6 LowerUsageCharge MULTIPLY LowerUsage LowerRate, !- Step 7 UpperUsageCharge MULTIPLY UpperUsage UpperRate, !- Step 8 Usage EXCEEDS TotalEnergy CapacityUsage, !- Step 9 CapacityCharge MULTIPLY Usage CapacityRate, !- Step 10 Total SUM AvailabilityCharge DemandCharge LowerUsageCharge UpperUsageCharge CapacityCharge; !- Step 11