Page 1 of 1

Get CE (GHG Emissions) Results

Posted: Tue Oct 18, 2022 6:29 pm
by HamidH
Hello,

The results I get from API is different than VistaPro for CE/GHG emissions.
As per guideline I call the CE by defining type as 'c'.

For instance:
AGHG_Receptacle_Equipment_Electricity = np.sum(aps_file.get_energy_results(use_id=iesve.EnergyUse.prm_receptacle_equipment,source_id=iesve.EnergySource.elec,type='c'))

guideline:
get_energy_results( use_id = iesve.EnergyUse.unspecified, source_id = iesve.EnergySource.unspecified, meter_id = iesve.EnergyMeter.unspecified, type = 'e', add_subs = -1, start_day = -1, end_day = -1 )
-> Numpy array of floats or None
Returns the specified energy results given the use id, source id, meter id and type.
Setting type to 'e' or 'c' determines whether or not energy (W) or carbon (kgC) results are returned.

Any feedback would be appreciated.
Thanks,
Hamid

Re: Get CE (GHG Emissions) Results

Posted: Tue Nov 01, 2022 5:27 pm
by HamidH
I've noticed that it extracts the Carbon (kgC) rather than CO2.