@@ -0,0 +1,841 @@
+package de.hsbo.fbg.systemdynamics.simulation;%0A%0Aimport de.hsbo.fbg.systemdynamics.model.Converter;%0Aimport de.hsbo.fbg.systemdynamics.model.Model;%0A%0Apublic class Simulation %7B%0A%09private Model model;%0A%0A%09public Simulation(Model model) %7B%0A%09%09this.model = model;%0A%09%7D%0A%0A%09public void run() %7B%0A%09%09this.model.prepareValuesForTimestep();%0A%09%09executeConverters();%0A%09%09this.model.updateCurrentTime();%0A%09%09while (!this.model.finalTimeReached()) %7B%0A%09%09%09this.model.prepareValuesForTimestep();%0A%09%09%09executeStockConverters();%0A%09%09%09executeConverters();%0A%09%09%09this.model.updateCurrentTime();%0A%09%09%7D%0A%09%7D%0A%0A%09private void executeStockConverters() %7B%0A%09%09for (Converter stockConverter : this.model.getStockConverterList()) %7B%0A%09%09%09stockConverter.convert();%0A%09%09%7D%0A%09%7D%0A%0A%09private void executeConverters() %7B%0A%09%09for (Converter converters : this.model.getConverterList()) %7B%0A%09%09%09converters.convert();%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

add and implement simulation