Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.DataStructureV3.Entities.BasedEmissionFactors Class Reference

Defines a class that holds ratios to a real emission factors in another technology More...

Inheritance diagram for Greet.DataStructureV3.Entities.BasedEmissionFactors:
Greet.DataStructureV3.Entities.EmissionsFactors Greet.DataStructureV3.Interfaces.IEmissionsFactors

Public Member Functions

 BasedEmissionFactors (double year)
 
 BasedEmissionFactors (GData data, XmlNode node, string optionalParamPrefix)
 
Dictionary< int, LightValueCalculateEmissionFactors (Technologies newTechnologies, int p)
 Finds recursively all the dependent referenced technologies use as a base and calculate emission factors for this given year If for any of the year the current year is not found, the default year will be used If the default year does not exists in the refered technology returns no emission factors If the refered technology does not exists returns no emission factors More...
 
override bool CheckIntegrity (GData data, bool showIds, out string efErrMsg)
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 
override XmlNode ToXmlNode (XmlDocument doc, string name="year")
 Returns an xmlNode containing all the emission factors defined for this instance More...
 

Protected Member Functions

 BasedEmissionFactors (SerializationInfo info, StreamingContext context)
 

Properties

Dictionary< int, EmissionValueRatios [get, set]
 
- Properties inherited from Greet.DataStructureV3.Entities.EmissionsFactors
string Notes [get, set]
 Notes that may be associated with that technology for that specific year More...
 
double Year [get, set]
 The year for which this technology is defined, 0 is the default year for all technologies More...
 

Additional Inherited Members

- Public Attributes inherited from Greet.DataStructureV3.Entities.EmissionsFactors
Dictionary< int, LightValueEmissionFactorsForCalculations = new Dictionary<int, LightValue>()
 Values that are going to be used during the calculations after pre-processing More...
 

Detailed Description

Defines a class that holds ratios to a real emission factors in another technology

Member Function Documentation

Dictionary<int, LightValue> Greet.DataStructureV3.Entities.BasedEmissionFactors.CalculateEmissionFactors ( Technologies  newTechnologies,
int  p 
)

Finds recursively all the dependent referenced technologies use as a base and calculate emission factors for this given year If for any of the year the current year is not found, the default year will be used If the default year does not exists in the refered technology returns no emission factors If the refered technology does not exists returns no emission factors

Parameters
newTechnologiesCollection of available technologies in the database
pTechnology that needs to be used as a reference for this year
Returns
override XmlNode Greet.DataStructureV3.Entities.BasedEmissionFactors.ToXmlNode ( XmlDocument  doc,
string  name = "year" 
)
virtual

Returns an xmlNode containing all the emission factors defined for this instance

Parameters
docParent document for creating new node
nameOptional name, the default name of the node is year
Returns

Implements Greet.DataStructureV3.Entities.EmissionsFactors.


The documentation for this class was generated from the following file: