.. _outputs: Outputs and Analysis ==================== OCHRE saves many time series results throughout the simulation. These time series results are used to calculate metrics that summarize the simulation results. The set of time series results depends on the ``verbosity`` of the simulation, and the set of metrics depends on the ``metrics_verbosity``. OCHRE also includes modules with useful code for analysis and visualization. .. _dwelling-results: Dwelling Time Series Results ---------------------------- The table below shows the Dwelling-level time series results, including units and the minimum ``verbosity`` required to output the data. +-------------------------------+-------------+-----------+-------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +===============================+=============+===========+=======================================================+ | Total Electric Power (kW) | kW | 1 | Total dwelling real electric power | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Total Electric Energy (kWh) | kWh | 6 | Total dwelling real electric energy for 1 time step | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Total Gas Power (therms/hour) | therms/hour | 1 | Total dwelling gas power | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Total Gas Energy (therms) | therms | 6 | Total dwelling gas energy consumption for 1 time step | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Total Reactive Power (kVAR) | kVAR | 1 | Total dwelling reactive power | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Total Reactive Energy (kVARh) | kVARh | 6 | Total dwelling reactive energy for 1 time step | +-------------------------------+-------------+-----------+-------------------------------------------------------+ | Grid Voltage (-) | p.u. | 8 | Per-unit grid voltage | +-------------------------------+-------------+-----------+-------------------------------------------------------+ Equipment Time Series Results ----------------------------- The tables below show equipment-level time series results, including units and the minimum ``verbosity`` required to output the data. Note that some rows represent multiple results; for example, `` Electric Power (kW)`` is output for each end use. All Equipment ~~~~~~~~~~~~~ The table below shows generic results for all equipment types and end uses. +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +=====================================+=============+===========+==========================================================================+ | Electric Power (kW) | kW | 2 | Real electric power of all equipment within the end use | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Gas Power (therms/hour) | therms/hour | 2 | Gas power of all equipment within the end use | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Reactive Power (kVAR) | kVAR | 8 | Reactive electric power of all equipment within the end use | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Mode | N/A | 7 | Current mode of equipment operation | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Electric Power (kW) | kW | 6 | Real electric power of the equipment (Lighting and Other equipment only) | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Gas Power (therms/hour) | therms/hour | 6 | Gas power of the equipment | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ | Reactive Power (kVAR) | kVAR | 8 | Reactive electric power of the equipment | +-------------------------------------+-------------+-----------+--------------------------------------------------------------------------+ HVAC Heating and Cooling ~~~~~~~~~~~~~~~~~~~~~~~~ The following results are specific to HVAC equipment. +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +============================================+=============+===========+===========================================================================+ | HVAC Delivered (W) | W | 4 | HVAC sensible heat gain delivered to indoor zone | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Setpoint (C) | degC | 4 | HVAC temperature setpoint | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC COP (-) | unitless | 4 | HVAC coefficient of performance of main unit | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Duct Losses (W) | W | 5 | HVAC heat loss due to ducts | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Main Power (kW) | kW | 7 | HVAC electric or gas power excluding fan, peripherals, and backup element | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Fan Power (kW) | kW | 7 | HVAC fan and peripherals power | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Latent Gains (W) | W | 7 | HVAC latent heat gain delivered to indoor zone | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC SHR (-) | unitless | 7 | HVAC sensible heat ratio | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Capacity (W) | W | 7 | HVAC heat capacity of main unit | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC Max Capacity (W) | W | 7 | HVAC maximum heat capacity of main unit | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ | HVAC ER Power (kW) | kW | 7 | HVAC backup element power (ASHPHeater only) | +--------------------------------------------+-------------+-----------+---------------------------------------------------------------------------+ The following results are specific to the Envelope model. +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +===================================================+=============+================================+===============================================================================+ | Temperature - (C) | degC | 3 for Indoor zone, otherwise 5 | Temperature of envelope zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Unmet HVAC Load (C) | degC | 3 | Absolute difference between Indoor temperature and thermal comfort limit [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Net Sensible Heat Gain - (W) | W | 5 for Indoor zone, otherwise 8 | Net sensible heat injected into zone [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Window Transmitted Solar Gain (W) | W | 5 | Heat gains from solar transmitted through windows to Indoor zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Infiltration Heat Gain - (W) | W | 5 for Indoor zone, otherwise 8 | Infiltration heat gain into zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Forced Ventilation Heat Gain - Indoor (W) | W | 5 | Heat gain from mechanical ventilation | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Natural Ventilation Heat Gain - Indoor (W) | W | 5 | Heat gain from natural ventilation | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Internal Heat Gain - Indoor (W) | W | 5 | Heat gain from occupants and non-HVAC equipment | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Roof Heat Gain - Indoor (W) | W | 5 | Heat gain from roofs and attic boundaries [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Floor Heat Gain - Indoor (W) | W | 5 | Heat gain from floors and foundation boundaries [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Wall Heat Gain - Indoor (W) | W | 5 | Heat gain from exterior walls, garage walls, and doors [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Window Heat Gain - Indoor (W) | W | 5 | Heat gain from windows [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Internal Mass Heat Gain - Indoor (W) | W | 5 | Heat gain from furniture and interior walls [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Occupancy Heat Gain - Indoor (W) | W | 8 | Heat gain from occupancy | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Occupancy (Persons) | Persons | 8 | Number of current occupants | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Infiltration Flow Rate - (m^3/s) | m^3/s | 8 | Infiltration flow rate between zone and outdoors | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Forced Ventilation Flow Rate - Indoor (m^3/s) | m^3/s | 8 | Mecahnical ventilation flow rate | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Natural Ventilation Flow Rate - Indoor (m^3/s) | m^3/s | 8 | Natural ventilation flow rate (open windows) | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Radiation Heat Gain - Indoor (W) | W | 8 | Heat gain from radiation [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Net Latent Heat Gain - Indoor (W) | W | 8 | Net latent heat injected into zone [#]_ | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Relative Humidity - Indoor (-) | unitless | 8 | Relative humidity of zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Humidity Ratio - Indoor (-) | unitless | 8 | Humidity ratio of zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Wet Bulb - Indoor (C) | W | 8 | Wet bulb temperature in zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Air Density - Indoor (kg/m^3) | unitless | 8 | Air density of zone | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Ext. Solar Gain (W) | W | 9 | Solar heat gain on external boundary surface | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Ext. LWR Gain (W) | W | 9 | Long wave radiation heat gain on external boundary surface | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Ext. Surface Temperature (C) | degC | 9 | External boundary surface temperature | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Ext. Film Coefficient (m^2-K/W) | m^2-K/W | 9 | Film coefficient of external boundary surface | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | LWR Gain (W) | W | 9 | Long wave radiation heat gain on internal boundary surface | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Surface Temperature (C) | C | 9 | Internal boundary surface temperature | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ | Film Coefficient (m^2-K/W) | m^2-K/W | 9 | Film coefficient of internal boundary surface | +---------------------------------------------------+-------------+--------------------------------+-------------------------------------------------------------------------------+ .. [#] Value is positive if indoor temperature is too hot, and negative if too cold. Compare to "Unmet Hours\| Heating" and "Unmet Hours\| Cooling" in OS-HPXML. .. [#] Includes heat gains from infiltration, ventilation, radiation, HVAC, other equipment, and occupants. Does not include heat gains intrinsic to the linear model (usually only convection or conduction). .. [#] Includes convection/conduction and long wave radiation. .. [#] Includes convection/conduction and long wave radiation. .. [#] Includes convection/conduction and long wave radiation. .. [#] Includes convection/conduction only. .. [#] Includes convection/conduction and long wave radiation. .. [#] Includes transmitted solar and internal radiation to zone. .. [#] Includes heat gains from infiltration, ventilation, HVAC, other equipment, and occupants. Water Heating ~~~~~~~~~~~~~ The following results are specific to Water Heater equipment. +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +============================================+=============+===========+===========================================================+ | Water Heating Delivered (W) | W | 4 | Heat delivered by water heater to tank | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating COP (-) | unitless | 4 | Water heater coefficient of performance | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Total Sensible Heat Gain (W) | W | 7 | Sensible heat gain from water tank to envelope zone | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Deadband Upper Limit (C) | C | 7 | Upper temperature limit for water heater deadband control | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Deadband Lower Limit (C) | C | 7 | Lower temperature limit for water heater deadband control | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Heat Pump Max Capacity (W) | W | 7 | Maximum capacity of HPWH heat pump element | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Heat Pump On Fraction (-) | unitless | 7 | Fraction of time HPWH heat pump element is on | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ | Water Heating Heat Pump COP (-) | unitless | 7 | HPWH heat pump coefficient of performance | +--------------------------------------------+-------------+-----------+-----------------------------------------------------------+ The following results are specific to the Water Tank model. +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +===================================+=============+===========+====================================================================+ | Hot Water Unmet Demand (kW) | kW | 3 | Unmet hot water demand, based on flow rate and desired temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Outlet Temperature (C) | degC | 3 | Hot water outlet temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Delivered (L/min) | L/min | 4 | Hot water draw volumetric flow rate | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Delivered (W) | W | 4 | Hot water draw heat flow rate | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Heat Injected (W) | W | 7 | Water tank heat gains from water heater | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Heat Loss (W) | W | 7 | Water tank heat losses to envelope zone | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Average Temperature (C) | degC | 7 | Water tank average temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Maximum Temperature (C) | degC | 7 | Water tank maximum temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Minimum Temperature (C) | degC | 7 | Water tank minimum temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ | Hot Water Mains Temperature (C) | degC | 7 | Water mains temperature | +-----------------------------------+-------------+-----------+--------------------------------------------------------------------+ Electric Vehicle ~~~~~~~~~~~~~~~~ The following results are specific to Electric Vehicle equipment. +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +================================+=============+===========+=========================================================================+ | EV SOC (-) | unitless | 3 | EV state of charge | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | EV Unmet Load (kW) | kW | 3 | Unmet EV demand, determined at parking End Time. Negative value | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | EV Parked | N/A | 4 | True if EV is parked at home | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | EV Start Time | N/A | 7 | If parked, time that EV arrived. If away, next time that EV will arrive | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | EV End Time | N/A | 7 | Next time that EV will depart | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ | EV Remaining Charge Time (min) | minutes | 7 | Estimated time to fully charge, based on SOC and max charge rate | +--------------------------------+-------------+-----------+-------------------------------------------------------------------------+ Solar PV ~~~~~~~~ The following results are specific to Solar PV equipment. +--------------------+-------------+-----------+----------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +====================+=============+===========+============================+ | PV P Setpoint (kW) | kW | 6 | PV real power setpoint | +--------------------+-------------+-----------+----------------------------+ | PV Q Setpoint (kW) | kVAR | 6 | PV reactive power setpoint | +--------------------+-------------+-----------+----------------------------+ Battery ~~~~~~~ The following results are specific to Battery equipment. +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +===================================+=============+===========+===============================================================================+ | Battery SOC (-) | unitless | 3 | Battery state of charge | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | Battery Setpoint (kW) | kW | 6 | Battery real power setpoint | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | Battery Efficiency (-) | unitless | 6 | Battery efficiency | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | Battery Energy to Discharge (kWh) | kWh | 7 | Estimated energy available for discharge, based on SOC and max discharge rate | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | Battery Nominal Capacity (kWh) | kWh | 7 | Nominal battery capacity, including degradation model | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ | Battery Actual Capacity (kWh) | kWh | 7 | Actual battery capacity, including degradation and temperature models | +-----------------------------------+-------------+-----------+-------------------------------------------------------------------------------+ Equivalent Battery Model ~~~~~~~~~~~~~~~~~~~~~~~~ The following results are not reported at any verbosity, but they can be output using the ``Equipment.make_equivalent_battery_model`` function. Currently, this functions works for the following end uses: - HVAC Heating - HVAC Cooling - Water Heating - EV - Battery +----------------------------------------+-------------+-----------+---------------------------------------------------+ | OCHRE Name | OCHRE Units | Verbosity | Description | +========================================+=============+===========+===================================================+ | EBM Energy (kWh) | kWh | N/A | Energy state of equivalent battery model (EBM) | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Min Energy (kWh) | kWh | N/A | Minimum energy constraint | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Max Energy (kWh) | kWh | N/A | Maximum energy constraint | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Max Power (kW) | kW | N/A | Maximum power constraint | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Efficiency (-) | unitless | N/A | Input/output power efficiency | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Baseline Power (kW) | kW | N/A | Power to maintain constant energy state | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Max Discharge Power (kW) | kW | N/A | Minimum power constraint (negative for discharge) | +----------------------------------------+-------------+-----------+---------------------------------------------------+ | EBM Discharge Efficiency (-) | unitless | N/A | Input/output power efficiency while discharging | +----------------------------------------+-------------+-----------+---------------------------------------------------+ .. _output-files: Additional Output Files and Print Statements -------------------------------------------- The ``verbosity`` parameter determines whether additional output files will be saved. Regardless of ``verbosity``, no files will be saved if ``save_results`` is False. Additional output files include: - ``_complete`` or ``_failed``: Empty file indicating if the simulation completed successfully or failed. Saved if ``verbosity > 0``. - ``.json``: JSON file with HPXML properties. Can also include dwelling parameters if ``save_args_to_json`` is set to True. Saved if ``verbosity >= 3`` or if ``save_args_to_json`` is set to True. - ``_hourly.csv``: Time series output file resampled to hourly resolution. Can be a parquet file if ``output_to_parquet`` is set to True. Saved if ``verbosity >= 3``. - ``_schedule.csv``: OCHRE schedule file including all scheduled time series data. Unlike the ``hpxml_schedule_file``, the values are absolute, not normalized, and the units are specified. Can be a parquet file if ``output_to_parquet`` is set to True. Saved if ``verbosity >= 7`` or if ``save_schedule_columns`` is specified. Only for ``Dwelling`` simulations. - ``_events.csv``: Event-based schedule file for event-based equipment. Includes event start and stop times and other relevant information. Saved if ``verbosity >= 7``. The ``verbosity`` will also impact the print statements provided during the simulation. Setting ``verbosity >= 3`` will allow most print statements to be written. .. _all-metrics: All Metrics ----------- Metrics are calculated at the end of a simulation and summarize the results over the simulation period. The tables below show all potential metrics, including the minimum ``metrics_verbosity`` required to output the data. Note that some rows represent multiple results; for example, `` Electric Energy (kWh)`` is output for each end use. Dwelling Metrics ~~~~~~~~~~~~~~~~ The table below shows dwelling-level metrics. +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Metric | Verbosity | Description | +==================================================+===========+=========================================================================+ | Total Electric Energy (kWh) | 1 | Total dwelling real electric energy consumption | +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Total Gas Energy (therms) | 1 | Total dwelling gas energy consumption | +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Total Reactive Energy (kVARh) | 8 | Total dwelling reactive electric energy consumption | +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Average Electric Power (kW) | 1 | Average dwelling real electric power | +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Peak Electric Power (kW) | 1 | Peak dwelling real electric power, using simulation time resolution | +--------------------------------------------------+-----------+-------------------------------------------------------------------------+ | Peak Electric Power -