Skip to content

Commit 90ead5d

Browse files
authored
New settings max_acc, p_speed and i_speed (#73)
* update CHANGELOG.md * Add max_acc to Settings * add p_speed and i_speed * fix #70 * update CHANGELOG.md --------- Co-authored-by: Uwe Fechner <u.fechner-1@tudelft.nl>
1 parent 64601c4 commit 90ead5d

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Changelog
2-
### Unreleased
2+
### KiteUtils v0.9.6 - 2024-12-19
33
#### Added
44
- function `KiteUtils.install_examples()`
5+
- add field `upwind_dir`, remove vector `v_wind_ref` from `Settings`and yaml files
6+
- add the fields `max_acc`, `p_speed` and `i_speed` to `Settings`and yaml files
57

68
### KiteUtils v0.9.5 - 2024-12-06
79
#### Changed

data/settings.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@ winch:
107107
v_ro_max: 8.0 # maximal reel-out speed [m/s]
108108
v_ro_min: -8.0 # minimal reel-out speed (=max reel-in speed) [m/s]
109109
drum_radius: 0.1615 # radius of the drum [m]
110+
max_acc: 4.0 # maximal acceleration of the winch [m/s²]
110111
gear_ratio: 6.2 # gear ratio of the winch [-]
111112
inertia_total: 0.204 # total inertia, as seen from the motor/generator [kgm²]
112113
f_coulomb: 122.0 # coulomb friction [N]
113114
c_vf: 30.6 # coefficient for the viscous friction [Ns/m]
115+
p_speed: 1.0 # proportional gain of the winch speed controller [-]
116+
i_speed: 0.1 # integral gain of the winch speed controller [-]
114117

115118
environment:
116119
v_wind: 9.51 # wind speed at reference height [m/s]

data/settings2.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,13 @@ winch:
105105
v_ro_max: 8.0 # maximal reel-out speed [m/s]
106106
v_ro_min: -8.0 # minimal reel-out speed (=max reel-in speed) [m/s]
107107
drum_radius: 0.1615 # radius of the drum [m]
108+
max_acc: 4.0 # maximal acceleration of the winch [m/s²]
108109
gear_ratio: 6.2 # gear ratio of the winch [-]
109110
inertia_total: 0.204 # total inertia, as seen from the motor/generator [kgm²]
110111
f_coulomb: 122.0 # coulomb friction [N]
111112
c_vf: 30.6 # coefficient for the viscous friction [Ns/m]
113+
p_speed: 1.0 # proportional gain of the winch speed controller [-]
114+
i_speed: 0.1 # integral gain of the winch speed controller [-]
112115

113116
environment:
114117
v_wind: 9.51 # wind speed at reference height [m/s]

data/settings_3l.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,13 @@ winch:
101101
v_ro_max: 8.0 # maximal reel-out speed [m/s]
102102
v_ro_min: -8.0 # minimal reel-out speed (=max reel-in speed) [m/s]
103103
drum_radius: 0.1615 # radius of the drum [m]
104+
max_acc: 4.0 # maximal acceleration of the winch [m/s²]
104105
gear_ratio: 6.2 # gear ratio of the winch [-]
105106
inertia_total: 0.204 # total inertia, as seen from the motor/generator [kgm²]
106107
f_coulomb: 122.0 # coulomb friction [N]
107108
c_vf: 30.6 # coefficient for the viscous friction [Ns/m]
109+
p_speed: 1.0 # proportional gain of the winch speed controller [-]
110+
i_speed: 0.1 # integral gain of the winch speed controller [-]
108111

109112
environment:
110113
v_wind: 15.51 # wind speed at reference height [m/s]

src/settings.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ $(TYPEDFIELDS)
213213
v_ro_max = 8
214214
"minimal reel-out speed (=max reel-in speed) [m/s]"
215215
v_ro_min = -8
216+
"maximal acceleration [m/s²]"
217+
max_acc = 0
216218
"radius of the drum [m]"
217219
drum_radius = 0.1615
218220
"ratio of the gear box"
@@ -223,6 +225,10 @@ $(TYPEDFIELDS)
223225
f_coulomb = 122.0
224226
"coefficient for the viscous friction [Ns/m]"
225227
c_vf = 30.6
228+
"proportional gain for the speed controller"
229+
p_speed = 0
230+
"integral gain for the speed controller"
231+
i_speed = 0
226232

227233
"wind speed at reference height [m/s]"
228234
v_wind = 0

0 commit comments

Comments
 (0)