Skip to content

Commit e1e09bf

Browse files
committed
fix (hook-create-chronics): Add configuration example for create_chronics hook
Signed-off-by: Ritesh.K <riteshkarki6@gmail.com>
1 parent 0e6bebe commit e1e09bf

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
nodes = {
2+
3+
file_node = {
4+
type = "file"
5+
format = {
6+
type = "csv"
7+
separator = ","
8+
delimiter = "\n"
9+
skip_first_line = false
10+
header = true
11+
}
12+
uris = ("./Load1.csv", "./SGen.csv")
13+
uri = "test_uri"
14+
in = {
15+
read_mode = "all"
16+
}
17+
18+
hooks = (
19+
{
20+
type = "create_chronics"
21+
loads_dir = "./"
22+
sgens_dir = "./"
23+
grid = "./grid_file.json"
24+
output = "./test_output"
25+
round_decimals = 3
26+
compress = true
27+
}
28+
)
29+
},
30+
dummy_node = {
31+
type = "file"
32+
format = "csv"
33+
uri = "dummy"
34+
out = {
35+
36+
}
37+
}
38+
}
39+
40+
paths = (
41+
{
42+
in = "file_node",
43+
out = "dummy_node"
44+
}
45+
)

0 commit comments

Comments
 (0)