From 8a0c2f6d6392eaddc8761e7341a62966bda20d28 Mon Sep 17 00:00:00 2001 From: Joan Date: Fri, 27 Sep 2024 13:55:52 +0200 Subject: [PATCH] added the files that could be run on a remote Pi --- configuration/run.sh | 29 ++++++++++++++++++- configuration/runshfile/runBattery.sh | 4 +-- configuration/runshfile/runController.sh | 3 ++ configuration/runshfile/runEboiler.sh | 3 ++ configuration/runshfile/runElectrolyser.sh | 3 ++ configuration/runshfile/runElenetwork.sh | 3 ++ configuration/runshfile/runExample.sh | 3 ++ configuration/runshfile/runFuelcell.sh | 3 ++ configuration/runshfile/runH2demand.sh | 3 ++ configuration/runshfile/runH2network.sh | 3 ++ configuration/runshfile/runH2product.sh | 3 ++ configuration/runshfile/runH2storage.sh | 3 ++ configuration/runshfile/runH2valves.sh | 3 ++ configuration/runshfile/runHeatdemand.sh | 3 ++ configuration/runshfile/runHeatnetwork.sh | 3 ++ configuration/runshfile/runHeatproduct.sh | 3 ++ configuration/runshfile/runHeatpump.sh | 3 ++ .../runshfile/runHeatpumpController.sh | 3 ++ configuration/runshfile/runHeatstorage.sh | 3 ++ configuration/runshfile/runHotwaterstorage.sh | 3 ++ configuration/runshfile/runHotwatertanksim.sh | 3 ++ configuration/runshfile/runLoad.sh | 3 ++ configuration/runshfile/runLoadinNetSim.sh | 3 ++ configuration/runshfile/runPV.sh | 3 ++ configuration/runshfile/runValves.sh | 3 ++ configuration/runshfile/runWind.sh | 3 ++ 26 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 configuration/runshfile/runController.sh create mode 100644 configuration/runshfile/runEboiler.sh create mode 100644 configuration/runshfile/runElectrolyser.sh create mode 100644 configuration/runshfile/runElenetwork.sh create mode 100644 configuration/runshfile/runExample.sh create mode 100644 configuration/runshfile/runFuelcell.sh create mode 100644 configuration/runshfile/runH2demand.sh create mode 100644 configuration/runshfile/runH2network.sh create mode 100644 configuration/runshfile/runH2product.sh create mode 100644 configuration/runshfile/runH2storage.sh create mode 100644 configuration/runshfile/runH2valves.sh create mode 100644 configuration/runshfile/runHeatdemand.sh create mode 100644 configuration/runshfile/runHeatnetwork.sh create mode 100644 configuration/runshfile/runHeatproduct.sh create mode 100644 configuration/runshfile/runHeatpump.sh create mode 100644 configuration/runshfile/runHeatpumpController.sh create mode 100644 configuration/runshfile/runHeatstorage.sh create mode 100644 configuration/runshfile/runHotwaterstorage.sh create mode 100644 configuration/runshfile/runHotwatertanksim.sh create mode 100644 configuration/runshfile/runLoad.sh create mode 100644 configuration/runshfile/runLoadinNetSim.sh create mode 100644 configuration/runshfile/runPV.sh create mode 100644 configuration/runshfile/runValves.sh create mode 100644 configuration/runshfile/runWind.sh diff --git a/configuration/run.sh b/configuration/run.sh index b824104..402e520 100644 --- a/configuration/run.sh +++ b/configuration/run.sh @@ -1,2 +1,29 @@ #! /bin/bash -lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2storage.sh'& \ No newline at end of file +# +# Remove comment sign for the components needed and change the IP address to the correct address. +# +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runBattery.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runController.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runEboiler.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runElectrolyser.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runElenetwork.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runExample.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runFuelcell.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2demand.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2network.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2product.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2storage.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runH2valves.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatdemand.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatnetwork.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatproduct.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatpump.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatpumpController.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHeatstorage.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHotwaterstorage.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runHotwatertanksim.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runLoad.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runLoadinNetSim.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runPV.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runValves.sh 192.168.0.2 5123'& +#lxterminal -e ssh illuminator@192.168.0.2 './Desktop/Final_illuminator/runshfile/runWind.sh 192.168.0.2 5123'& diff --git a/configuration/runshfile/runBattery.sh b/configuration/runshfile/runBattery.sh index 30f62f0..1e23fc6 100644 --- a/configuration/runshfile/runBattery.sh +++ b/configuration/runshfile/runBattery.sh @@ -1,3 +1,3 @@ #! /bin/bash -cd /home/illuminator/Desktop/Final_illuminator/Battery -python battery_mosaik.py 131.180.210.8:5123 --remote \ No newline at end of file +cd /home/illuminator/Desktop/Final_illuminator/Battery +python battery_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runController.sh b/configuration/runshfile/runController.sh new file mode 100644 index 0000000..0398af0 --- /dev/null +++ b/configuration/runshfile/runController.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Controller +python controller_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runEboiler.sh b/configuration/runshfile/runEboiler.sh new file mode 100644 index 0000000..fc87e2d --- /dev/null +++ b/configuration/runshfile/runEboiler.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Eboiler +python eboiler_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runElectrolyser.sh b/configuration/runshfile/runElectrolyser.sh new file mode 100644 index 0000000..9a68198 --- /dev/null +++ b/configuration/runshfile/runElectrolyser.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Electrolyser +python electrolyser_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runElenetwork.sh b/configuration/runshfile/runElenetwork.sh new file mode 100644 index 0000000..c14e2c3 --- /dev/null +++ b/configuration/runshfile/runElenetwork.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Elenetwork +python electricity_network_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runExample.sh b/configuration/runshfile/runExample.sh new file mode 100644 index 0000000..5329fbc --- /dev/null +++ b/configuration/runshfile/runExample.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/LoadinNetSim/example +python model_mosaikapi.py $1:$2 --remote diff --git a/configuration/runshfile/runFuelcell.sh b/configuration/runshfile/runFuelcell.sh new file mode 100644 index 0000000..f4256c4 --- /dev/null +++ b/configuration/runshfile/runFuelcell.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Fuelcell +python fuelcell_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runH2demand.sh b/configuration/runshfile/runH2demand.sh new file mode 100644 index 0000000..4f15d76 --- /dev/null +++ b/configuration/runshfile/runH2demand.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/H2demand +python h2demand_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runH2network.sh b/configuration/runshfile/runH2network.sh new file mode 100644 index 0000000..8e021ed --- /dev/null +++ b/configuration/runshfile/runH2network.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/H2network +python gas_network_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runH2product.sh b/configuration/runshfile/runH2product.sh new file mode 100644 index 0000000..d9f09cb --- /dev/null +++ b/configuration/runshfile/runH2product.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/H2product +python h2product_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runH2storage.sh b/configuration/runshfile/runH2storage.sh new file mode 100644 index 0000000..33f036a --- /dev/null +++ b/configuration/runshfile/runH2storage.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/H2storage +python h2storage_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runH2valves.sh b/configuration/runshfile/runH2valves.sh new file mode 100644 index 0000000..2f400f6 --- /dev/null +++ b/configuration/runshfile/runH2valves.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Valves +python h2valve_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatdemand.sh b/configuration/runshfile/runHeatdemand.sh new file mode 100644 index 0000000..9608eaf --- /dev/null +++ b/configuration/runshfile/runHeatdemand.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatdemand +python qdemand_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatnetwork.sh b/configuration/runshfile/runHeatnetwork.sh new file mode 100644 index 0000000..ce0d861 --- /dev/null +++ b/configuration/runshfile/runHeatnetwork.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatnetwork +python heat_network_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatproduct.sh b/configuration/runshfile/runHeatproduct.sh new file mode 100644 index 0000000..6833887 --- /dev/null +++ b/configuration/runshfile/runHeatproduct.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatproduct +python qproduct_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatpump.sh b/configuration/runshfile/runHeatpump.sh new file mode 100644 index 0000000..10f02fd --- /dev/null +++ b/configuration/runshfile/runHeatpump.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatpump/heatpump +python Heat_Pump_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatpumpController.sh b/configuration/runshfile/runHeatpumpController.sh new file mode 100644 index 0000000..207c660 --- /dev/null +++ b/configuration/runshfile/runHeatpumpController.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatpump/controller +python controller_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHeatstorage.sh b/configuration/runshfile/runHeatstorage.sh new file mode 100644 index 0000000..617eedb --- /dev/null +++ b/configuration/runshfile/runHeatstorage.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatstorage +python qstorage_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHotwaterstorage.sh b/configuration/runshfile/runHotwaterstorage.sh new file mode 100644 index 0000000..e033821 --- /dev/null +++ b/configuration/runshfile/runHotwaterstorage.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Hotwaterstorage +python hotwaterstorage_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runHotwatertanksim.sh b/configuration/runshfile/runHotwatertanksim.sh new file mode 100644 index 0000000..04fe6be --- /dev/null +++ b/configuration/runshfile/runHotwatertanksim.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Heatpump/hotwatertanksim +python hotwatertank_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runLoad.sh b/configuration/runshfile/runLoad.sh new file mode 100644 index 0000000..3ea8d93 --- /dev/null +++ b/configuration/runshfile/runLoad.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Load +python load_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runLoadinNetSim.sh b/configuration/runshfile/runLoadinNetSim.sh new file mode 100644 index 0000000..8d1f74d --- /dev/null +++ b/configuration/runshfile/runLoadinNetSim.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/LoadinNetSim +python mosaik-model.py $1:$2 --remote diff --git a/configuration/runshfile/runPV.sh b/configuration/runshfile/runPV.sh new file mode 100644 index 0000000..044f89e --- /dev/null +++ b/configuration/runshfile/runPV.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/PV +python pv_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runValves.sh b/configuration/runshfile/runValves.sh new file mode 100644 index 0000000..89f644d --- /dev/null +++ b/configuration/runshfile/runValves.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Valves +python qvalve_mosaik.py $1:$2 --remote diff --git a/configuration/runshfile/runWind.sh b/configuration/runshfile/runWind.sh new file mode 100644 index 0000000..ffda92d --- /dev/null +++ b/configuration/runshfile/runWind.sh @@ -0,0 +1,3 @@ +#! /bin/bash +cd /home/illuminator/Desktop/Final_illuminator/Wind +python wind_mosaik.py $1:$2 --remote