Skip to content

Commit 07cc3ea

Browse files
committed
Add diesel generator
1 parent 0c3e7f3 commit 07cc3ea

File tree

3 files changed

+3141
-7
lines changed

3 files changed

+3141
-7
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Simulation
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, develop ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ main, develop ]
88

99
jobs:
1010
build:
@@ -14,5 +14,23 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616

17+
- name: Cache IEEE 123 model
18+
id: ieee-123-model
19+
uses: actions/cache@v3
20+
with:
21+
path: 123.glm
22+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('123.glm') }}
23+
restore-keys: |
24+
${{ runner.os }}-build-${{ env.cache-name }}-
25+
${{ runner.os }}-build-
26+
${{ runner.os }}-
27+
1728
- name: Run simulation
1829
run: gridlabd main.glm
30+
31+
- name: Save results
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: IEEE 123 voltage profile
35+
path: IEEE-123-voltage-profile.png
36+

0 commit comments

Comments
 (0)