Skip to content

Commit ab38d19

Browse files
committed
refactor: switch default to guess in Integrator
1 parent 39f5098 commit ab38d19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Blocks/continuous.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Initial value of integrator state ``x`` can be set with `x`
2020
@mtkmodel Integrator begin
2121
@extend u, y = siso = SISO()
2222
@variables begin
23-
x(t) = 0.0, [description = "State of Integrator"]
23+
x(t), [guess = 0.0, description = "State of Integrator"]
2424
end
2525
@parameters begin
2626
k = 1, [description = "Gain"]
@@ -37,8 +37,8 @@ end
3737
Outputs an approximate derivative of the input. The transfer function of this block is
3838
3939
```
40-
k k ks
41-
─ - ─────── = ──────
40+
k k ks
41+
─ - ─────── = ──────
4242
T sT² + T sT + 1
4343
```
4444

0 commit comments

Comments
 (0)