Skip to content

Commit 40c1b34

Browse files
committed
add missing "Model" function calls
1 parent a466cb2 commit 40c1b34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/tutorial/Modeling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Hierarchical models are obtained if the values themselves are `Models`, i.e. dic
183183
A model with two filters can, for example, be defined as follows:
184184

185185
```julia
186-
TwoFilters = (
186+
TwoFilters = Model(
187187
high = HighPassFilter,
188188
low = LowPassFilter,
189189
)
@@ -194,7 +194,7 @@ Note, that the previous definitions of `HighPassFilter` and `LowPassFilter` was
194194
A band pass filter is a series connection of a high pass filter and a low pass filter and can be described as:
195195

196196
```julia
197-
BandPassFilter = (
197+
BandPassFilter = Model(
198198
u = input,
199199
y = output,
200200
high = HighPassFilter | Map(T=0.5, x=Var(init=0.1u"V")),
@@ -358,7 +358,7 @@ Having the above electrical component models, enables defining a filter
358358
by instantiating components, setting parameters and defining connections.
359359

360360
```julia
361-
Filter = (
361+
Filter = Model(
362362
R = Resistor | Map(R=0.5u"Ω"),
363363
C = Capacitor | Map(C=2.0u"F"),
364364
V = ConstantVoltage | Map(V=10.0u"V"),

0 commit comments

Comments
 (0)