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

Revision history [back]

click to hide/show revision 1
initial version

Model 100% Efficient Battery

I'm trying to determine TDV savings from charging a battery at night and discharging between 5pm and 8pm. However, I am getting a worse TDV value the model has the battery vs when I don't have the battery. The opposite of what I expected.

I suspect the inefficiencies of my battery explain this, but I wanted to check by modeling a 100% efficient battery to make sure I didn't do something wrong. I think I made the battery 100% efficient, but I'm still getting a worse TDV value with the battery. Can anyone spot something I did wrong? Or maybe another object I should check in the IDF file that I overlooked?

ElectricLoadCenter:Inverter:LookUpTable,
    Storage Inverter,        !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.00,                    !- Radiative Fraction
    14000,                   !- Rated Maximum Continuous Output Power {W}
    0.0,                   !- Night Tare Loss Power {W}
    368,                     !- Nominal Voltage Input {V}
    1,                   !- Efficiency at 10% Power and Nominal Voltage
    1,                   !- Efficiency at 20% Power and Nominal Voltage
    1,                   !- Efficiency at 30% Power and Nominal Voltage
    1,                   !- Efficiency at 50% Power and Nominal Voltage
    1,                   !- Efficiency at 75% Power and Nominal Voltage
    1;                   !- Efficiency at 100% Power and Nominal Voltage

ElectricLoadCenter:Storage:Simple,
    Battery,                 !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.0,                     !- Radiative Fraction for Zone Heat Gains
    1.0,                     !- Nominal Energetic Efficiency for Charging
    1.0,                     !- Nominal Discharging Energetic Efficiency
    1.0E12,                  !- Maximum Storage Capacity {J}
    200000,                  !- Maximum Power for Discharging {W}
    200000,                  !- Maximum Power for Charging {W}
    1.0E12;                  !- Initial State of Charge {J}

ElectricLoadCenter:Distribution,
    Grid Battery Load Center,!- Name
    ,                        !- Generator List Name
    ,                        !- Generator Operation Scheme Type
    0,                       !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
    ,                        !- Generator Track Schedule Name Scheme Schedule Name
    ,                        !- Generator Track Meter Scheme Meter Name
    DirectCurrentWithInverterDCStorage,  !- Electrical Buss Type
    Storage Inverter,        !- Inverter Name
    Battery,                 !- Electrical Storage Object Name
    ,                        !- Transformer Object Name
    TrackChargeDischargeSchedules,  !- Storage Operation Scheme
    ,                        !- Storage Control Track Meter Name
    Grid Charge Converter,   !- Storage Converter Object Name
    0.96,                    !- Maximum Storage State of Charge Fraction
    0.4,                     !- Minimum Storage State of Charge Fraction
    500000,                  !- Design Storage Control Charge Power {W}
    Charge Schedule,         !- Storage Charge Power Fraction Schedule Name
    500000,                  !- Design Storage Control Discharge Power {W}
    Discharge Schedule;      !- Storage Discharge Power Fraction Schedule Name

ElectricLoadCenter:Storage:Converter,
    Grid Charge Converter,   !- Name
    ,               !- Availability Schedule Name
    SimpleFixed,             !- Power Conversion Efficiency Method
    1.0,                    !- Simple Fixed Efficiency
    ,                        !- Design Maximum Continuous Input Power {W}
    ,                        !- Efficiency Function of Power Curve Name
    0,                      !- Ancillary Power Consumed In Standby {W}
    ,                        !- Zone Name
    0.00;                    !- Radiative Fraction

Schedule:Compact,
    Charge Schedule,         !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 5:00,             !- Field 3
    1.0,                     !- Field 4
    Until: 24:00,            !- Field 5
    0.0,                     !- Field 6
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 5:00,            !- Field 10
    1.0,                     !- Field 11
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    1.0;                     !- Field 18

Schedule:Compact,
    Discharge Schedule,      !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 17:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 17:00,            !- Field 10
    0.0,                     !- Field 11
    Until: 20:00,            !- Field 12
    1.0,                     !- Field 13
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    0.0;                     !- Field 18

Model 100% Efficient Battery

I'm trying to determine TDV savings from charging a battery at night and discharging between 5pm and 8pm. However, I am getting a worse TDV value when the model has the battery vs when I don't have the battery. The opposite of what I expected.

I suspect the inefficiencies of my battery explain this, but I wanted to check by modeling a 100% efficient battery to make sure I didn't do something wrong. I think I made the battery 100% efficient, but I'm still getting a worse TDV value with the battery. Can anyone spot something I did wrong? Or maybe another object I should check in the IDF file that I overlooked?

ElectricLoadCenter:Inverter:LookUpTable,
    Storage Inverter,        !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.00,                    !- Radiative Fraction
    14000,                   !- Rated Maximum Continuous Output Power {W}
    0.0,                   !- Night Tare Loss Power {W}
    368,                     !- Nominal Voltage Input {V}
    1,                   !- Efficiency at 10% Power and Nominal Voltage
    1,                   !- Efficiency at 20% Power and Nominal Voltage
    1,                   !- Efficiency at 30% Power and Nominal Voltage
    1,                   !- Efficiency at 50% Power and Nominal Voltage
    1,                   !- Efficiency at 75% Power and Nominal Voltage
    1;                   !- Efficiency at 100% Power and Nominal Voltage

ElectricLoadCenter:Storage:Simple,
    Battery,                 !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.0,                     !- Radiative Fraction for Zone Heat Gains
    1.0,                     !- Nominal Energetic Efficiency for Charging
    1.0,                     !- Nominal Discharging Energetic Efficiency
    1.0E12,                  !- Maximum Storage Capacity {J}
    200000,                  !- Maximum Power for Discharging {W}
    200000,                  !- Maximum Power for Charging {W}
    1.0E12;                  !- Initial State of Charge {J}

ElectricLoadCenter:Distribution,
    Grid Battery Load Center,!- Name
    ,                        !- Generator List Name
    ,                        !- Generator Operation Scheme Type
    0,                       !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
    ,                        !- Generator Track Schedule Name Scheme Schedule Name
    ,                        !- Generator Track Meter Scheme Meter Name
    DirectCurrentWithInverterDCStorage,  !- Electrical Buss Type
    Storage Inverter,        !- Inverter Name
    Battery,                 !- Electrical Storage Object Name
    ,                        !- Transformer Object Name
    TrackChargeDischargeSchedules,  !- Storage Operation Scheme
    ,                        !- Storage Control Track Meter Name
    Grid Charge Converter,   !- Storage Converter Object Name
    0.96,                    !- Maximum Storage State of Charge Fraction
    0.4,                     !- Minimum Storage State of Charge Fraction
    500000,                  !- Design Storage Control Charge Power {W}
    Charge Schedule,         !- Storage Charge Power Fraction Schedule Name
    500000,                  !- Design Storage Control Discharge Power {W}
    Discharge Schedule;      !- Storage Discharge Power Fraction Schedule Name

ElectricLoadCenter:Storage:Converter,
    Grid Charge Converter,   !- Name
    ,               !- Availability Schedule Name
    SimpleFixed,             !- Power Conversion Efficiency Method
    1.0,                    !- Simple Fixed Efficiency
    ,                        !- Design Maximum Continuous Input Power {W}
    ,                        !- Efficiency Function of Power Curve Name
    0,                      !- Ancillary Power Consumed In Standby {W}
    ,                        !- Zone Name
    0.00;                    !- Radiative Fraction

Schedule:Compact,
    Charge Schedule,         !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 5:00,             !- Field 3
    1.0,                     !- Field 4
    Until: 24:00,            !- Field 5
    0.0,                     !- Field 6
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 5:00,            !- Field 10
    1.0,                     !- Field 11
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    1.0;                     !- Field 18

Schedule:Compact,
    Discharge Schedule,      !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 17:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 17:00,            !- Field 10
    0.0,                     !- Field 11
    Until: 20:00,            !- Field 12
    1.0,                     !- Field 13
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    0.0;                     !- Field 18

Model 100% Efficient Battery

I'm trying to determine TDV savings from charging a battery at night and discharging between 5pm and 8pm. However, I am getting a worse TDV value when the model has the battery vs when I don't have the battery. The opposite of what I expected.

I suspect the inefficiencies of my battery explain this, but I wanted to check by modeling a 100% efficient battery to make sure I didn't do something wrong. I think I made the battery 100% efficient, but I'm still getting a worse TDV value with the battery. Can anyone spot something I did wrong? Or maybe another object I should check in the IDF file that I overlooked?

BEGIN UPDATE
Okay, so then I thought that I could test if my battery simulation really is 100% efficient by making an enormous battery with a huge initial charge that could supply the entire building for a year, set the charge schedule to 0 all the time, and set the discharge schedule to 1 all the time. That gave me these TDV values:

                        Total Energy [GJ]   
Total Site Energy       553.57
Net Site Energy         -5753.6
Total Source Energy     9.13
Net Source Energy       -46417.4

This makes me think that I'm not interpreting these values correctly. I took my interpretation from this post, but that doesn't make sense with the large negative Net Source Energy value. I would think the Total Source Energy, which I think represents TDV, would be the large negative value.

So what's going on here. Should I add the numbers or something?
END UPDATE

ElectricLoadCenter:Inverter:LookUpTable,
    Storage Inverter,        !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.00,                    !- Radiative Fraction
    14000,                   !- Rated Maximum Continuous Output Power {W}
    0.0,                   !- Night Tare Loss Power {W}
    368,                     !- Nominal Voltage Input {V}
    1,                   !- Efficiency at 10% Power and Nominal Voltage
    1,                   !- Efficiency at 20% Power and Nominal Voltage
    1,                   !- Efficiency at 30% Power and Nominal Voltage
    1,                   !- Efficiency at 50% Power and Nominal Voltage
    1,                   !- Efficiency at 75% Power and Nominal Voltage
    1;                   !- Efficiency at 100% Power and Nominal Voltage

ElectricLoadCenter:Storage:Simple,
    Battery,                 !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.0,                     !- Radiative Fraction for Zone Heat Gains
    1.0,                     !- Nominal Energetic Efficiency for Charging
    1.0,                     !- Nominal Discharging Energetic Efficiency
    1.0E12,                  !- Maximum Storage Capacity {J}
    200000,                  !- Maximum Power for Discharging {W}
    200000,                  !- Maximum Power for Charging {W}
    1.0E12;                  !- Initial State of Charge {J}

ElectricLoadCenter:Distribution,
    Grid Battery Load Center,!- Name
    ,                        !- Generator List Name
    ,                        !- Generator Operation Scheme Type
    0,                       !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
    ,                        !- Generator Track Schedule Name Scheme Schedule Name
    ,                        !- Generator Track Meter Scheme Meter Name
    DirectCurrentWithInverterDCStorage,  !- Electrical Buss Type
    Storage Inverter,        !- Inverter Name
    Battery,                 !- Electrical Storage Object Name
    ,                        !- Transformer Object Name
    TrackChargeDischargeSchedules,  !- Storage Operation Scheme
    ,                        !- Storage Control Track Meter Name
    Grid Charge Converter,   !- Storage Converter Object Name
    0.96,                    !- Maximum Storage State of Charge Fraction
    0.4,                     !- Minimum Storage State of Charge Fraction
    500000,                  !- Design Storage Control Charge Power {W}
    Charge Schedule,         !- Storage Charge Power Fraction Schedule Name
    500000,                  !- Design Storage Control Discharge Power {W}
    Discharge Schedule;      !- Storage Discharge Power Fraction Schedule Name

ElectricLoadCenter:Storage:Converter,
    Grid Charge Converter,   !- Name
    ,               !- Availability Schedule Name
    SimpleFixed,             !- Power Conversion Efficiency Method
    1.0,                    !- Simple Fixed Efficiency
    ,                        !- Design Maximum Continuous Input Power {W}
    ,                        !- Efficiency Function of Power Curve Name
    0,                      !- Ancillary Power Consumed In Standby {W}
    ,                        !- Zone Name
    0.00;                    !- Radiative Fraction

Schedule:Compact,
    Charge Schedule,         !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 5:00,             !- Field 3
    1.0,                     !- Field 4
    Until: 24:00,            !- Field 5
    0.0,                     !- Field 6
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 5:00,            !- Field 10
    1.0,                     !- Field 11
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    1.0;                     !- Field 18

Schedule:Compact,
    Discharge Schedule,      !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 17:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 17:00,            !- Field 10
    0.0,                     !- Field 11
    Until: 20:00,            !- Field 12
    1.0,                     !- Field 13
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    0.0;                     !- Field 18

Model 100% Efficient Battery

I'm trying to determine TDV savings from charging a battery at night and discharging between 5pm and 8pm. However, I am getting a worse TDV value when the model has the battery vs when I don't have the battery. The opposite of what I expected.

I suspect the inefficiencies of my battery explain this, but I wanted to check by modeling a 100% efficient battery to make sure I didn't do something wrong. I think I made the battery 100% efficient, but I'm still getting a worse TDV value with the battery. Can anyone spot something I did wrong? Or maybe another object I should check in the IDF file that I overlooked?

BEGIN UPDATE
Okay, so then I thought that I could test if my battery simulation really is 100% efficient by making an enormous battery with a huge initial charge that could supply the entire building for a year, set the charge schedule to 0 all the time, and set the discharge schedule to 1 all the time. That gave me these TDV values:

                        Total Energy [GJ]   
Total Site Energy       553.57
Net Site Energy         -5753.6
Total Source Energy     9.13
Net Source Energy       -46417.4

This makes me think that I'm not interpreting these values correctly. I took my interpretation from this post, but that doesn't make sense with the large negative Net Source Energy value. I would think the Total Source Energy, which I think represents TDV, would be the large negative value.

So what's going on here. Should I add the numbers or something?
END UPDATE

ElectricLoadCenter:Inverter:LookUpTable,
    Storage Inverter,        !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.00,                    !- Radiative Fraction
    14000,                   !- Rated Maximum Continuous Output Power {W}
    0.0,                   !- Night Tare Loss Power {W}
    368,                     !- Nominal Voltage Input {V}
    1,                   !- Efficiency at 10% Power and Nominal Voltage
    1,                   !- Efficiency at 20% Power and Nominal Voltage
    1,                   !- Efficiency at 30% Power and Nominal Voltage
    1,                   !- Efficiency at 50% Power and Nominal Voltage
    1,                   !- Efficiency at 75% Power and Nominal Voltage
    1;                   !- Efficiency at 100% Power and Nominal Voltage

ElectricLoadCenter:Storage:Simple,
    Battery,                 !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.0,                     !- Radiative Fraction for Zone Heat Gains
    1.0,                     !- Nominal Energetic Efficiency for Charging
    1.0,                     !- Nominal Discharging Energetic Efficiency
    1.0E12,                  !- Maximum Storage Capacity {J}
    200000,                  !- Maximum Power for Discharging {W}
    200000,                  !- Maximum Power for Charging {W}
    1.0E12;                  !- Initial State of Charge {J}

ElectricLoadCenter:Distribution,
    Grid Battery Load Center,!- Name
    ,                        !- Generator List Name
    ,                        !- Generator Operation Scheme Type
    0,                       !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
    ,                        !- Generator Track Schedule Name Scheme Schedule Name
    ,                        !- Generator Track Meter Scheme Meter Name
    DirectCurrentWithInverterDCStorage,  !- Electrical Buss Type
    Storage Inverter,        !- Inverter Name
    Battery,                 !- Electrical Storage Object Name
    ,                        !- Transformer Object Name
    TrackChargeDischargeSchedules,  !- Storage Operation Scheme
    ,                        !- Storage Control Track Meter Name
    Grid Charge Converter,   !- Storage Converter Object Name
    0.96,                    !- Maximum Storage State of Charge Fraction
    0.4,                     !- Minimum Storage State of Charge Fraction
    500000,                  !- Design Storage Control Charge Power {W}
    Charge Schedule,         !- Storage Charge Power Fraction Schedule Name
    500000,                  !- Design Storage Control Discharge Power {W}
    Discharge Schedule;      !- Storage Discharge Power Fraction Schedule Name

ElectricLoadCenter:Storage:Converter,
    Grid Charge Converter,   !- Name
    ,               !- Availability Schedule Name
    SimpleFixed,             !- Power Conversion Efficiency Method
    1.0,                    !- Simple Fixed Efficiency
    ,                        !- Design Maximum Continuous Input Power {W}
    ,                        !- Efficiency Function of Power Curve Name
    0,                      !- Ancillary Power Consumed In Standby {W}
    ,                        !- Zone Name
    0.00;                    !- Radiative Fraction

Schedule:Compact,
    Charge Schedule,         !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 5:00,             !- Field 3
    1.0,                     !- Field 4
    Until: 24:00,            !- Field 5
    0.0,                     !- Field 6
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 5:00,            !- Field 10
    1.0,                     !- Field 11
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    1.0;                     !- Field 18

Schedule:Compact,
    Discharge Schedule,      !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 17:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 17:00,            !- Field 10
    0.0,                     !- Field 11
    Until: 20:00,            !- Field 12
    1.0,                     !- Field 13
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    0.0;                     !- Field 18

Model 100% Efficient Battery

I'm trying to determine TDV savings from charging a battery at night and discharging between 5pm and 8pm. However, I am getting a worse TDV value when the model has the battery vs when I don't have the battery. The opposite of what I expected.

I suspect the inefficiencies of my battery explain this, but I wanted to check by modeling a 100% efficient battery to make sure I didn't do something wrong. I think I made the battery 100% efficient, but I'm still getting a worse TDV value with the battery. Can anyone spot something I did wrong? Or maybe another object I should check in the IDF file that I overlooked?

BEGIN UPDATE
Okay, so then I thought that I could test if my battery simulation really is 100% efficient by making an enormous battery with a huge initial charge that could supply the entire building for a year, set the charge schedule to 0 all the time, and set the discharge schedule to 1 all the time. That gave me these TDV values:

                        Total Energy [GJ]   
Total Site Energy       553.57
Net Site Energy         -5753.6
Total Source Energy     9.13
Net Source Energy       -46417.4

This makes me think that I'm not interpreting these values correctly. I took my interpretation from this post, but that doesn't make sense with the large negative Net Source Energy value. I would think the Total Source Energy, which I think represents TDV, would be the large negative value.

So what's going on here. Should I add the numbers or something?
END UPDATE

ElectricLoadCenter:Inverter:LookUpTable,
    Storage Inverter,        !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.00,                    !- Radiative Fraction
    14000,                   !- Rated Maximum Continuous Output Power {W}
    0.0,                   !- Night Tare Loss Power {W}
    368,                     !- Nominal Voltage Input {V}
    1,                   !- Efficiency at 10% Power and Nominal Voltage
    1,                   !- Efficiency at 20% Power and Nominal Voltage
    1,                   !- Efficiency at 30% Power and Nominal Voltage
    1,                   !- Efficiency at 50% Power and Nominal Voltage
    1,                   !- Efficiency at 75% Power and Nominal Voltage
    1;                   !- Efficiency at 100% Power and Nominal Voltage

ElectricLoadCenter:Storage:Simple,
    Battery,                 !- Name
    ,               !- Availability Schedule Name
    ,                        !- Zone Name
    0.0,                     !- Radiative Fraction for Zone Heat Gains
    1.0,                     !- Nominal Energetic Efficiency for Charging
    1.0,                     !- Nominal Discharging Energetic Efficiency
    1.0E12,                  !- Maximum Storage Capacity {J}
    200000,                  !- Maximum Power for Discharging {W}
    200000,                  !- Maximum Power for Charging {W}
    1.0E12;                  !- Initial State of Charge {J}

ElectricLoadCenter:Distribution,
    Grid Battery Load Center,!- Name
    ,                        !- Generator List Name
    ,                        !- Generator Operation Scheme Type
    0,                       !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
    ,                        !- Generator Track Schedule Name Scheme Schedule Name
    ,                        !- Generator Track Meter Scheme Meter Name
    DirectCurrentWithInverterDCStorage,  !- Electrical Buss Type
    Storage Inverter,        !- Inverter Name
    Battery,                 !- Electrical Storage Object Name
    ,                        !- Transformer Object Name
    TrackChargeDischargeSchedules,  !- Storage Operation Scheme
    ,                        !- Storage Control Track Meter Name
    Grid Charge Converter,   !- Storage Converter Object Name
    0.96,                    !- Maximum Storage State of Charge Fraction
    0.4,                     !- Minimum Storage State of Charge Fraction
    500000,                  !- Design Storage Control Charge Power {W}
    Charge Schedule,         !- Storage Charge Power Fraction Schedule Name
    500000,                  !- Design Storage Control Discharge Power {W}
    Discharge Schedule;      !- Storage Discharge Power Fraction Schedule Name

ElectricLoadCenter:Storage:Converter,
    Grid Charge Converter,   !- Name
    ,               !- Availability Schedule Name
    SimpleFixed,             !- Power Conversion Efficiency Method
    1.0,                    !- Simple Fixed Efficiency
    ,                        !- Design Maximum Continuous Input Power {W}
    ,                        !- Efficiency Function of Power Curve Name
    0,                      !- Ancillary Power Consumed In Standby {W}
    ,                        !- Zone Name
    0.00;                    !- Radiative Fraction

Schedule:Compact,
    Charge Schedule,         !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 5:00,             !- Field 3
    1.0,                     !- Field 4
    Until: 24:00,            !- Field 5
    0.0,                     !- Field 6
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 5:00,            !- Field 10
    1.0,                     !- Field 11
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    1.0;                     !- Field 18

Schedule:Compact,
    Discharge Schedule,      !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekdays SummerDesignDay,  !- Field 2
    Until: 17:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: Saturday WinterDesignDay,  !- Field 9
    Until: 17:00,            !- Field 10
    0.0,                     !- Field 11
    Until: 20:00,            !- Field 12
    1.0,                     !- Field 13
    Until: 24:00,            !- Field 14
    0.0,                     !- Field 15
    For: AllOtherDays,       !- Field 16
    Until: 24:00,            !- Field 17
    0.0;                     !- Field 18