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

To hold the emission factors read from the database, and stored as a double Value More...

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

Public Member Functions

 RealEmissionsFactors ()
 Create an empty dictionary of emission factors More...
 
 RealEmissionsFactors (double year)
 Initialize a specific value for each available gas in the database More...
 
 RealEmissionsFactors (GData data, XmlNode node, string optionalParamPrefix)
 
void AppendXmlNodes (XmlDocument doc, XmlNode root)
 
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 XML node for that year, the node will contains the year value and emission factors for each gas More...
 

Protected Member Functions

 RealEmissionsFactors (SerializationInfo info, StreamingContext context)
 

Properties

Dictionary< int, EmissionValueEmissionFactors [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

To hold the emission factors read from the database, and stored as a double Value

Constructor & Destructor Documentation

Greet.DataStructureV3.Entities.RealEmissionsFactors.RealEmissionsFactors ( )

Create an empty dictionary of emission factors

Greet.DataStructureV3.Entities.RealEmissionsFactors.RealEmissionsFactors ( double  year)

Initialize a specific value for each available gas in the database

Parameters
init_val

Member Function Documentation

override XmlNode Greet.DataStructureV3.Entities.RealEmissionsFactors.ToXmlNode ( XmlDocument  doc,
string  name = "year" 
)
virtual

Returns an XML node for that year, the node will contains the year value and emission factors for each gas

Parameters
doc
name
Returns

Implements Greet.DataStructureV3.Entities.EmissionsFactors.


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