<?xml version="1.0"?>
<measure>
  <schema_version>3.1</schema_version>
  <name>add_ev_load</name>
  <uid>a23e0493-7357-48ca-b089-4d902efd6b50</uid>
  <version_id>12fb9a15-3439-41f4-981b-832f5c219cd0</version_id>
  <version_modified>2024-11-16T23:54:14Z</version_modified>
  <xml_checksum>9A202986</xml_checksum>
  <class_name>AddEVLoad</class_name>
  <display_name>Add_EV_Load</display_name>
  <description>This measure adds a load associated with charging of electric vehicles (EVs) to a building in URBANopt. EV load profiles were generated in EVI-Pro for specific building types. This measure allows running of customized load profiles for buildings in the Pena Station Next project, and also for generating typical charging load profiles based on the location type (home, public, or office).</description>
  <modeler_description>This measure adds an EV charging load to a building model. Load profiles for EV charging were generated in EVI-Pro. Different options are available for charging control type and charging behavior.</modeler_description>
  <arguments>
    <argument>
      <name>delay_type</name>
      <display_name>Charging Flexibility Option</display_name>
      <description>Represents charging flexibility scenarios applied to workplace charging. Min Delay indicates EVs begin charging immediately upon arriving at work, Max Delay indicates EVs are plugged in immediately but do not begin charging until necessary and Min Power indicates EVs are charged at minimum rate over the parking event.</description>
      <type>Choice</type>
      <required>true</required>
      <model_dependent>false</model_dependent>
      <default_value>Min Delay</default_value>
      <choices>
        <choice>
          <value>Max Delay</value>
          <display_name>Max Delay</display_name>
        </choice>
        <choice>
          <value>Min Delay</value>
          <display_name>Min Delay</display_name>
        </choice>
        <choice>
          <value>Min Power</value>
          <display_name>Min Power</display_name>
        </choice>
      </choices>
    </argument>
    <argument>
      <name>charge_behavior</name>
      <display_name>Consumer Charging Behavior</display_name>
      <description>Describes different scenarios of EV Charging. Business as Usual represents home dominant charging behavior where the majority of the electrical energy consumed by EV charging is during evening hours and overnight. Free Workplace Charging at Project Site indicates that the peak power draw from EV charging on weekdays occurs during morning hours, due to EV charging at workplaces. Overnight residential charging remains a significant share of the total electricity use for EV charging. Free Workplace Charging Across Metro Area reduces the Home EV charging relative to the Free Workplace Charging at Project Site scenario, for people who work elsewhere and can charge their vehicles for free at those workplaces.</description>
      <type>Choice</type>
      <required>true</required>
      <model_dependent>false</model_dependent>
      <default_value>Business as Usual</default_value>
      <choices>
        <choice>
          <value>Business as Usual</value>
          <display_name>Business as Usual</display_name>
        </choice>
        <choice>
          <value>Free Workplace Charging at Project Site</value>
          <display_name>Free Workplace Charging at Project Site</display_name>
        </choice>
        <choice>
          <value>Free Workplace Charging Across Metro Area</value>
          <display_name>Free Workplace Charging Across Metro Area</display_name>
        </choice>
      </choices>
    </argument>
    <argument>
      <name>chg_station_type</name>
      <display_name>Charging Station Type</display_name>
      <type>Choice</type>
      <required>true</required>
      <model_dependent>false</model_dependent>
      <default_value>Typical Public</default_value>
      <choices>
        <choice>
          <value>Typical Home</value>
          <display_name>Typical Home</display_name>
        </choice>
        <choice>
          <value>Typical Public</value>
          <display_name>Typical Public</display_name>
        </choice>
        <choice>
          <value>Typical Work</value>
          <display_name>Typical Work</display_name>
        </choice>
      </choices>
    </argument>
    <argument>
      <name>ev_percent</name>
      <display_name>Percent of Vehicles Parked at Building That Are EVs</display_name>
      <description>Denotes percentage of vehicles between 0 to 100 that are electric on site.</description>
      <type>Double</type>
      <required>true</required>
      <model_dependent>false</model_dependent>
      <default_value>100</default_value>
    </argument>
    <argument>
      <name>ev_use_model_occupancy</name>
      <display_name>Use occupancy from OpenStudio Model to determine number of electric vehicles</display_name>
      <type>Boolean</type>
      <required>true</required>
      <model_dependent>false</model_dependent>
      <default_value>true</default_value>
      <choices>
        <choice>
          <value>true</value>
          <display_name>true</display_name>
        </choice>
        <choice>
          <value>false</value>
          <display_name>false</display_name>
        </choice>
      </choices>
    </argument>
  </arguments>
  <outputs />
  <provenances />
  <tags>
    <tag>Equipment.Electric Equipment</tag>
  </tags>
  <attributes>
    <attribute>
      <name>Measure Type</name>
      <value>ModelMeasure</value>
      <datatype>string</datatype>
    </attribute>
    <attribute>
      <name>Intended Software Tool</name>
      <value>Apply Measure Now</value>
      <datatype>string</datatype>
    </attribute>
    <attribute>
      <name>Intended Software Tool</name>
      <value>OpenStudio Application</value>
      <datatype>string</datatype>
    </attribute>
    <attribute>
      <name>Intended Software Tool</name>
      <value>Parametric Analysis Tool</value>
      <datatype>string</datatype>
    </attribute>
  </attributes>
  <files>
    <file>
      <filename>LICENSE.md</filename>
      <filetype>md</filetype>
      <usage_type>license</usage_type>
      <checksum>8696A072</checksum>
    </file>
    <file>
      <filename>README.md</filename>
      <filetype>md</filetype>
      <usage_type>readme</usage_type>
      <checksum>2293F4B3</checksum>
    </file>
    <file>
      <version>
        <software_program>OpenStudio</software_program>
        <identifier>2.5.1</identifier>
        <min_compatible>2.5.1</min_compatible>
      </version>
      <filename>measure.rb</filename>
      <filetype>rb</filetype>
      <usage_type>script</usage_type>
      <checksum>D3110BC3</checksum>
    </file>
    <file>
      <filename>PSN_BuildingKey.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>153D4BBA</checksum>
    </file>
    <file>
      <filename>PSN_BuildingKey_v2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>1000C8E8</checksum>
    </file>
    <file>
      <filename>chg1_dow1_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>E4226271</checksum>
    </file>
    <file>
      <filename>chg1_dow1_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>095F9B11</checksum>
    </file>
    <file>
      <filename>chg1_dow1_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>281396E7</checksum>
    </file>
    <file>
      <filename>chg1_dow2_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>A8ADE89D</checksum>
    </file>
    <file>
      <filename>chg1_dow2_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>652B2384</checksum>
    </file>
    <file>
      <filename>chg1_dow2_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>E8B3CD2E</checksum>
    </file>
    <file>
      <filename>chg1_dow3_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>1F70FC21</checksum>
    </file>
    <file>
      <filename>chg1_dow3_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>0DDD87E6</checksum>
    </file>
    <file>
      <filename>chg1_dow3_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>84CDFFBD</checksum>
    </file>
    <file>
      <filename>chg2_dow1_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>A306400A</checksum>
    </file>
    <file>
      <filename>chg2_dow1_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>AFB3651D</checksum>
    </file>
    <file>
      <filename>chg2_dow1_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>21A2185D</checksum>
    </file>
    <file>
      <filename>chg2_dow2_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>27A849F5</checksum>
    </file>
    <file>
      <filename>chg2_dow2_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>32FB80C2</checksum>
    </file>
    <file>
      <filename>chg2_dow2_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>AE95D12E</checksum>
    </file>
    <file>
      <filename>chg2_dow3_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>FAB49B7C</checksum>
    </file>
    <file>
      <filename>chg2_dow3_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>16D26DC4</checksum>
    </file>
    <file>
      <filename>chg2_dow3_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>8D4C6E34</checksum>
    </file>
    <file>
      <filename>chg3_dow1_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>6FBBFD27</checksum>
    </file>
    <file>
      <filename>chg3_dow1_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>CDF99F52</checksum>
    </file>
    <file>
      <filename>chg3_dow1_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>A91801BC</checksum>
    </file>
    <file>
      <filename>chg3_dow2_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>6F8774B1</checksum>
    </file>
    <file>
      <filename>chg3_dow2_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>BF7C5780</checksum>
    </file>
    <file>
      <filename>chg3_dow2_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>FC3473AB</checksum>
    </file>
    <file>
      <filename>chg3_dow3_flex1.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>970B9AC7</checksum>
    </file>
    <file>
      <filename>chg3_dow3_flex2.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>A5B5B479</checksum>
    </file>
    <file>
      <filename>chg3_dow3_flex3.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>429C9B64</checksum>
    </file>
    <file>
      <filename>fast_charge_15min_Saturday.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>6813FABB</checksum>
    </file>
    <file>
      <filename>fast_charge_15min_Sunday.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>A604B427</checksum>
    </file>
    <file>
      <filename>fast_charge_15min_Weekday.csv</filename>
      <filetype>csv</filetype>
      <usage_type>resource</usage_type>
      <checksum>114F9EA1</checksum>
    </file>
    <file>
      <filename>add_ev_load_test.rb</filename>
      <filetype>rb</filetype>
      <usage_type>test</usage_type>
      <checksum>5381CBDE</checksum>
    </file>
    <file>
      <filename>example_model.osm</filename>
      <filetype>osm</filetype>
      <usage_type>test</usage_type>
      <checksum>E925F127</checksum>
    </file>
  </files>
</measure>