Skip to content

Commit 2390885

Browse files
committed
2 parents 51e369b + 107adce commit 2390885

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Staged
44
- nothing
55

6+
## v0.10.3
7+
- bug fix in transient flow bound computation
8+
69
## v0.10.2
710
- bug fix in Steady State transfer cost model
811
- fix for power expression and power variable writing

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "GasModels"
22
uuid = "5e113713-6c35-5477-b766-e1109486666f"
33
authors = ["Russell Bent <[email protected]>", "Kaarthik Sundar <[email protected]>", "David Fobes <[email protected]>"]
44
repo = "https://github.com/lanl-ansi/GasModels.jl.git"
5-
version = "0.10.2"
5+
version = "0.10.3"
66

77
[deps]
88
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/io/transient.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ function parse_files(
7272

7373
make_si_units!(static_data)
7474
add_base_values!(static_data)
75+
correct_f_bounds!(static_data)
7576
check_connectivity(static_data)
7677
check_status(static_data)
7778
check_edge_loops(static_data)
78-
7979
check_global_parameters(static_data)
8080
prep_transient_data!(static_data; spatial_discretization=spatial_discretization)
8181

@@ -260,6 +260,8 @@ function _prep_transient_data!(
260260
"is_si_units",
261261
"is_english_units",
262262
"is_per_unit",
263+
"flow_min",
264+
"flow_max"
263265
]
264266

265267
data["pipe"][key] = Dict{String,Any}()
@@ -336,6 +338,8 @@ function _prep_transient_data!(
336338
"is_si_units" => data["is_si_units"],
337339
"is_english_units" => data["is_english_units"],
338340
"is_per_unit" => data["is_english_units"],
341+
"flow_min" => pipe["flow_min"],
342+
"flow_max" => pipe["flow_max"]
339343
)
340344
end
341345
end

0 commit comments

Comments
 (0)