int regulationid = (int) result.get("regulationid"); int simulationType = (int) result.get("simulationType"); try { // Create new simulation and save it (specified on DCI4HD2D.application.xml and selected from GUI, 1 default scenario (baseline UPM)) CS3Regulation reg = new CS3Regulation(regulationid); this.sim = new CS3DCI4HD2DSimulation (fuelprice, co2ratio, segmentid, airportid, uncertainty, reg, simulationType); //setting the fact of concrete simulation. In this case is the simulation of CASS++ System.out.println("Setting the fact of concrete simulation"); getBeliefbase().getBelief("simulationDCI4HD2D").setFact(sim); } catch (Exception e) { e.printStackTrace(); } } }
int regulationid = (int) result.get("regulationid"); int simulationType = (int) result.get("simulationType"); try { // Create new simulation and save it (specified on DCI4HD2D.application.xml and selected from GUI, 1 default scenario (baseline UPM)) CS3Regulation reg = new CS3Regulation(regulationid); this.sim = new CS3DCI4HD2DSimulation (fuelprice, co2ratio, segmentid, airportid, uncertainty, reg, simulationType); //setting the fact of concrete simulation. In this case is the simulation of CASS++ System.out.println("Setting the fact of concrete simulation"); getBeliefbase().getBelief("simulationDCI4HD2D").setFact(sim); } catch (Exception e) { e.printStackTrace(); } } }
E.02.14-D2.1-DCI-4HD2D-Platform%20extension%20report%20V1.docx