Greet 2014
Documentation for the GREET 2014 API
|
Public Member Functions | |
GData () | |
Build the data holder for greet, that object will store all the dataset ( working and user copy ) to allow calculations More... | |
string | CheckIntegrity (bool showIds, bool fixFixableIssues) |
This method checks all the relationships in the data just after the data has been loaded More... | |
void | CheckProcessModelModification (GProject project, AProcess process, out string msg) |
Extensive checks to make sure that changes to an existing process model will not break all edges in pathways using it If that proces isn't in the database or used anywhere, it can be safely added without any checks More... | |
delegate void | EIHasBeenChanged () |
List< MixListItem > | FlattenMixList () |
List< MixListItem > | FlattenMixList (int resource_id) |
List< TechnologyListItem > | FlattenTechonlogyList () |
delegate void | MaterialParameterHasBeenChanged () |
int | PathwayMainOutputResouce (int pathwayId) |
Method for convenience that uses a pathway ID in order to grab the last process in that pathway and figure out the main output resource ID from the last process More... | |
delegate void | ReadingXMLFilesDoneEvent () |
delegate void | ReadingXMLFilesInProgressEvent (int progress, string message) |
bool | SafePipelineEiRemove (int modeId, int materialId, out string msg) |
This method removes an entry from list of energy intecities. Before removeing, it checks wheter the ei is used anywhere. More... | |
bool | SafeRemoveFuelShare (int ModeID, int ModeFuelShareID, out string msg) |
delegate void | VehicleParameterHasBeenChanged () |
void | WarnPathwayValueHasChangedNeedRecalculation () |
void | WarnVehicleValueHasChangedNeedRecalculation () |
Static Public Attributes | |
static CultureInfo | Nfi = new CultureInfo("en-US") |
Properties | |
bool | FuelCalculationNeeded [get, set] |
IGDataDictionary< int, IGas > | Gases [get] |
EmissionGases | GasesData [get] |
List< IGroup > | GasGroups [get] |
IDataHelper | Helper [get] |
InputTables | InputsData [get] |
IGDataDictionary< string, IInputTable > | InputTables [get] |
IGDataDictionary< int, ILocation > | Locations [get] |
Locations | LocationsData [get] |
IGDataDictionary< int, IMix > | Mixes [get] |
Mixes | MixesData [get] |
IGDataDictionary< int, IAMode > | Modes [get] |
Modes | ModesData [get] |
IGDataDictionary< string, IParameter > | Parameters [get] |
Parameters | ParametersData [get, set] |
IGDataDictionary< int, IPathway > | Pathways [get] |
Pathways | PathwaysData [get] |
IGDataDictionary< string, IPicture > | Pictures [get] |
Pictures | PicturesData [get, set] |
IGDataDictionary< int, IProcess > | Processes [get] |
Processes | ProcessesData [get] |
List< IGroup > | ResourceGroups [get] |
IGDataDictionary< int, IResource > | Resources [get] |
Resources | ResourcesData [get] |
IGDataDictionary< int, ITechnology > | Technologies [get] |
Technologies | TechnologiesData [get] |
bool | VehicleCalculationNeeded [get, set] |
IGDataDictionary< int, IVehicle > | Vehicles [get] |
Vehicles | VehiclesData [get] |
Properties inherited from Greet.DataStructureV3.Interfaces.IData | |
IGDataDictionary< int, IGas > | Gases [get] |
Returns a dictionary type object containing all gases; see IGDataDictionary for details on implementation More... | |
List< IGroup > | GasGroups [get] |
Returns the available groups for Emissions/Gases More... | |
IDataHelper | Helper [get] |
Returns an instance of the data helper that is a wrapper class arround the data class to allow easier data manipulation More... | |
IGDataDictionary< string, IInputTable > | InputTables [get] |
Returns a dictionary type object containing all input tables; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, ILocation > | Locations [get] |
Returns a dictionary type object containing all locations; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, IMix > | Mixes [get] |
Returns a dictionary type object containing all mixes; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, IAMode > | Modes [get] |
Returns a dictionary type object containing all modes; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< string, IParameter > | Parameters [get] |
Returns a dictionary type object containing Parameters; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, IPathway > | Pathways [get] |
Returns a dictionary type object containing all pathways; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< string, IPicture > | Pictures [get] |
Returns a dictionary type object containing Pictures; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, IProcess > | Processes [get] |
Returns a dictionary type object containing all processes; see IGDataDictionary for details on implementation More... | |
List< IGroup > | ResourceGroups [get] |
Returns the available groups for Resources More... | |
IGDataDictionary< int, IResource > | Resources [get] |
Returns a dictionary type object containing all resources; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, ITechnology > | Technologies [get] |
Returns a dictionary type object containing all technologies; see IGDataDictionary for details on implementation More... | |
IGDataDictionary< int, IVehicle > | Vehicles [get] |
Returns a dictionary type object containing all vehicles; see IGDataDictionary for details on implementation More... | |
Events | |
ReadingXMLFilesInProgressEvent | ReadingDataInProgressEvent |
ReadingXMLFilesDoneEvent | ReadingDone |
Greet.DataStructureV3.GData.GData | ( | ) |
Build the data holder for greet, that object will store all the dataset ( working and user copy ) to allow calculations
string Greet.DataStructureV3.GData.CheckIntegrity | ( | bool | showIds, |
bool | fixFixableIssues | ||
) |
This method checks all the relationships in the data just after the data has been loaded
Implements Greet.DataStructureV3.Interfaces.IData.
void Greet.DataStructureV3.GData.CheckProcessModelModification | ( | GProject | project, |
AProcess | process, | ||
out string | msg | ||
) |
Extensive checks to make sure that changes to an existing process model will not break all edges in pathways using it If that proces isn't in the database or used anywhere, it can be safely added without any checks
process | Process to be checked for insertion in the current database |
msg | Message containing possible errors if any for insertion in the database |
int Greet.DataStructureV3.GData.PathwayMainOutputResouce | ( | int | pathwayId | ) |
Method for convenience that uses a pathway ID in order to grab the last process in that pathway and figure out the main output resource ID from the last process
pathwayId | The pathway ID for which we want to know the main output resource ID |
bool Greet.DataStructureV3.GData.SafePipelineEiRemove | ( | int | modeId, |
int | materialId, | ||
out string | msg | ||
) |
This method removes an entry from list of energy intecities. Before removeing, it checks wheter the ei is used anywhere.
materialId | The id of the materil/material group to be removed from the energyIntensity |
msg | If remove fails, the msg contains meaningful explanation of whay it happened. |