Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cdad59de119056bea0e45ff987ede19594198e1d
[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 > [1000.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 24.000000°C Energy consumed: 71373.333333J
8 > [MyHost1:sender:(1) 1000.000000] [chiller_simple/INFO] The Chiller now compensates the heat generated by the machines.
9 > [1200.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 24.000000°C Energy consumed: 151373.333333J
10 > [MyHost1:sender:(1) 1200.000000] [chiller_simple/INFO] Let's compute something.
11 > [1300.000000] [chiller_simple/INFO] Chiller: Power: 426.666667W T_in: 24.000000°C Energy consumed: 194040.000000J
12 > [MyHost1:sender:(1) 1300.000000] [chiller_simple/INFO] Computation done.
13 > [1400.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 24.000000°C Energy consumed: 234040.000000J
14 > [MyHost1:sender:(1) 1400.000000] [chiller_simple/INFO] Now let's stress the chiller by decreasing the goal temperature to 23°C.
15 > [1900.000000] [chiller_simple/INFO] Chiller: Power: 1000.000000W T_in: 23.087110°C Energy consumed: 734040.000000J
16 > [2000.000000] [chiller_simple/INFO] Chiller: Power: 686.266667W T_in: 23.000000°C Energy consumed: 802666.666667J
17 > [2100.000000] [chiller_simple/INFO] Chiller: Power: 400.000000W T_in: 23.000000°C Energy consumed: 842666.666667J
18 > [2100.000000] [host_energy/INFO] Total energy consumption: 632000.000000 Joules (used hosts: 212000.000000 Joules; unused/idle hosts: 420000.000000)
19 > [2100.000000] [host_energy/INFO] Energy consumption of host MyHost1: 212000.000000 Joules
20 > [2100.000000] [host_energy/INFO] Energy consumption of host MyHost2: 210000.000000 Joules
21 > [2100.000000] [host_energy/INFO] Energy consumption of host MyHost3: 210000.000000 Joules