Search in sources :

Example 6 with UserMasterData

use of spold2.UserMasterData in project olca-modules by GreenDelta.

the class MasterData method writeTechFlow.

public static void writeTechFlow(IntermediateExchange techFlow, UserMasterData masterData) {
    IntermediateExchange masterFlow = new IntermediateExchange();
    masterData.intermediateExchanges.add(masterFlow);
    // !
    masterFlow.id = techFlow.flowId;
    masterFlow.unitId = techFlow.unitId;
    masterFlow.name = techFlow.name;
    masterFlow.unit = techFlow.unit;
}
Also used : IntermediateExchange(spold2.IntermediateExchange)

Aggregations

ElementaryExchange (spold2.ElementaryExchange)3 IntermediateExchange (spold2.IntermediateExchange)3 UserMasterData (spold2.UserMasterData)2 File (java.io.File)1 Exchange (org.openlca.core.model.Exchange)1 Flow (org.openlca.core.model.Flow)1 ProcessDescriptor (org.openlca.core.model.descriptors.ProcessDescriptor)1 ActivityDescription (spold2.ActivityDescription)1 Compartment (spold2.Compartment)1 DataSet (spold2.DataSet)1 FlowData (spold2.FlowData)1