Defines the reference to a single process. The objects of this class are used to store calculation results
More...
|
| CanonicalProcess (int reference, int pathway_ref) |
|
void | ClearAllResults () |
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
List< CanonicalProcess > | GetProcesses () |
|
Dictionary< IIO, Results > | GetResults (GData data) |
| Returns results associated with all the outputs for that process More...
|
|
Dictionary< IIO, IResults > | GetUpstreamResults (IData data) |
| Upstream results associated to that process reference at it's position in the pathway More...
|
|
XmlNode | ResultsToXml (XmlDocument doc) |
| This function writes the results in a form of xml More...
|
|
override string | ToString () |
|
Dictionary< IIO, Results > | GetResults (GData data) |
|
|
Dictionary< int, Results > | CreditedAmounts = new Dictionary<int, Results>() |
| Stores the credited amounts for allocated and displaced co-products. Used in order to be able to show these individual credits to the user in the co-products editor. More...
|
|
Dictionary< Guid, CanonicalInput > | InputsResults = new Dictionary<Guid, CanonicalInput>() |
| Stores the results for each inputs relatively all outputs (no allocation or displacement) All the inputs results are stored here as they depend on the previous values in a pathway and cannot be stored in an instance of a process More...
|
|
string | Name = "" |
|
Dictionary< Guid, CanonicalOutput > | OutputsResults = new Dictionary<Guid, CanonicalOutput>() |
| Stores the results for each output by taking all the inputs amounts balanced to the respective outputs amounts or using allocation methods. Displaced outputs are not represented in this collection as they are not usable in downstream processes. Indexes are the resource ID associated to the upstrams at this point. For outputs all enems are balanced. More...
|
|
int | pathwayReference = -1 |
|
|
static KeyValuePair< string, bool > | EmissionsAll = new KeyValuePair<string, bool>("Life Cycle", true) |
|
static KeyValuePair< string, bool > | EnergyAllIncluded = new KeyValuePair<string, bool>("Life Cycle", true) |
|
|
int | ModelId [get, set] |
|
string | Notes [get, set] |
|
Guid | VertexId [get, set] |
| Vertex ID associated with that process reference in the pathway More...
|
|
int | ModelId [get, set] |
| Reference to the ID of the process to be used in the pathway More...
|
|
Defines the reference to a single process. The objects of this class are used to store calculation results
Dictionary<IIO, Results> Greet.DataStructureV3.ResultsStorage.CanonicalProcess.GetResults |
( |
GData |
data | ) |
|
Returns results associated with all the outputs for that process
- Parameters
-
data | Data where the ModelID process is available |
- Returns
- Dictionary of outputs and results
Dictionary<IIO, IResults> Greet.DataStructureV3.ResultsStorage.CanonicalProcess.GetUpstreamResults |
( |
IData |
data | ) |
|
Upstream results associated to that process reference at it's position in the pathway
This is the prefered way to get the upstream for a product from any process reference. The upstream associated with a IPathway is equal the the upstream associated with the last process reference of this given pathway.
- Parameters
-
data | Data object needed for references |
- Returns
- Dictionary containing the allocated results for each output of the IProcess refered by this process reference in a IPathway
Implements Greet.DataStructureV3.Interfaces.IProcessReference.
XmlNode Greet.DataStructureV3.ResultsStorage.CanonicalProcess.ResultsToXml |
( |
XmlDocument |
doc | ) |
|
This function writes the results in a form of xml
- Returns
- node which contains the calculation results
Dictionary<int, Results> Greet.DataStructureV3.ResultsStorage.CanonicalProcess.CreditedAmounts = new Dictionary<int, Results>() |
Stores the credited amounts for allocated and displaced co-products. Used in order to be able to show these individual credits to the user in the co-products editor.
Dictionary<Guid, CanonicalInput> Greet.DataStructureV3.ResultsStorage.CanonicalProcess.InputsResults = new Dictionary<Guid, CanonicalInput>() |
Stores the results for each inputs relatively all outputs (no allocation or displacement) All the inputs results are stored here as they depend on the previous values in a pathway and cannot be stored in an instance of a process
Stores the results for each output by taking all the inputs amounts balanced to the respective outputs amounts or using allocation methods. Displaced outputs are not represented in this collection as they are not usable in downstream processes. Indexes are the resource ID associated to the upstrams at this point. For outputs all enems are balanced.
Guid Greet.DataStructureV3.ResultsStorage.CanonicalProcess.VertexId |
|
getset |
Vertex ID associated with that process reference in the pathway
The documentation for this class was generated from the following file:
- C:/Users/ddieffenthaler/Desktop/SVN/source/greet-dev/main/DataManagement/DataStructureV3/DataV3/Calculation/ResultsStorage/CanonicalProcess.cs