Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
second part of bigdft fix
[simgrid.git] / examples / cpp / chiller-simple / s4u-chiller-simple.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-chiller-simple ${platfdir}/energy_platform.xml
4 > [MyHost1:sender:(1) 0.000000] [chiller_simple/INFO] Initial state: 
5 > [MyHost1:sender:(1) 0.000000] [chiller_simple/INFO] Chiller: Power: 0.000000W T_in: 23.000000°C Energy consumed: 0.000000J
6 > [MyHost1:sender:(1) 0.000000] [chiller_simple/INFO] The machines slowly heat up the room.
7 > [MyHost1:sender:(1) 400.000000] [chiller_simple/INFO] Chiller: Power: 0.000000W T_in: 23.486875°C Energy consumed: 0.000000J
8 > [MyHost1:sender:(1) 800.000000] [chiller_simple/INFO] Chiller: Power: 0.000000W T_in: 23.973749°C Energy consumed: 0.000000J
9 > [MyHost1:sender:(1) 1000.000000] [chiller_simple/INFO] The Chiller now compensates the heat generated by the machines.
10 > [MyHost1:sender:(1) 1000.000000] [chiller_simple/INFO] Chiller: Power: 356.866667W T_in: 24.000000°C Energy consumed: 71373.333333J
11 > [MyHost1:sender:(1) 1200.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 24.000000°C Energy consumed: 151373.333333J
12 > [MyHost1:sender:(1) 1200.000000] [chiller_simple/INFO] Let's compute something.
13 > [MyHost1:sender:(1) 1250.000000] [chiller_simple/INFO] Chiller: Power: 426.666667W T_in: 24.000000°C Energy consumed: 172706.666667J
14 > [MyHost1:sender:(1) 1300.000000] [chiller_simple/INFO] Computation done.
15 > [MyHost1:sender:(1) 1400.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 24.000000°C Energy consumed: 234040.000000J
16 > [MyHost1:sender:(1) 1400.000000] [chiller_simple/INFO] Now let's stress the chiller by decreasing the goal temperature to 23°C.
17 > [MyHost1:sender:(1) 1600.000000] [chiller_simple/INFO] Chiller: Power: 1000.000000W T_in: 23.634844°C Energy consumed: 434040.000000J
18 > [MyHost1:sender:(1) 1800.000000] [chiller_simple/INFO] Chiller: Power: 1000.000000W T_in: 23.269688°C Energy consumed: 634040.000000J
19 > [MyHost1:sender:(1) 2000.000000] [chiller_simple/INFO] Chiller: Power: 843.133333W T_in: 23.000000°C Energy consumed: 802666.666667J
20 > [MyHost1:sender:(1) 2200.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 23.000000°C Energy consumed: 882666.666667J
21 > [2200.000000] [host_energy/INFO] Total energy consumption: 662000.000000 Joules (used hosts: 222000.000000 Joules; unused/idle hosts: 440000.000000)
22 > [2200.000000] [host_energy/INFO] Energy consumption of host MyHost1: 222000.000000 Joules
23 > [2200.000000] [host_energy/INFO] Energy consumption of host MyHost2: 220000.000000 Joules
24 > [2200.000000] [host_energy/INFO] Energy consumption of host MyHost3: 220000.000000 Joules