Get CE (GHG Emissions) Results

The VE Python API allows users create simple programs using the Python Programming Language, to interact with a VE Model and/or Vista Results File
Post Reply
HamidH
VE Newbie
VE Newbie
Posts: 3
Joined: Mon Oct 17, 2022 7:56 pm

Get CE (GHG Emissions) Results

Post 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
HamidH
VE Newbie
VE Newbie
Posts: 3
Joined: Mon Oct 17, 2022 7:56 pm

Re: Get CE (GHG Emissions) Results

Post by HamidH »

I've noticed that it extracts the Carbon (kgC) rather than CO2.
Post Reply