Skip to content

Commit 82c6412

Browse files
author
Benoit HOFFMAN
committed
giving an example answer to payload_3 to give an hint on efficiency
1 parent 7917873 commit 82c6412

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The payload contains 3 types of data:
6262

6363
#### response
6464

65-
The response should be a json as in `example_response.json`, specifying for each powerplant how much power each powerplant should deliver. The power produced by each powerplant has to be a multiple of 0.1 Mw and the sum of the power produced by all the powerplants together should equal the load.
65+
The response should be a json as in `example_payloads/response3.json`, which is the expected answer for `example_payloads/payload3.json`, specifying for each powerplant how much power each powerplant should deliver. The power produced by each powerplant has to be a multiple of 0.1 Mw and the sum of the power produced by all the powerplants together should equal the load.
6666

6767
### Want more challenge?
6868

example_payloads/response3.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"name": "windpark1",
4+
"p": 90.0
5+
},
6+
{
7+
"name": "windpark2",
8+
"p": 21.6
9+
},
10+
{
11+
"name": "gasfiredbig1",
12+
"p": 460.0
13+
},
14+
{
15+
"name": "gasfiredbig2",
16+
"p": 338.4
17+
},
18+
{
19+
"name": "gasfiredsomewhatsmaller",
20+
"p": 0.0
21+
},
22+
{
23+
"name": "tj1",
24+
"p": 0.0
25+
}
26+
]

example_response.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)