Commit 2900ff1
committed
fix: disambiguate WindIO cone / uptilt rad vs deg by magnitude
The WindIO v2 turbine schema annotates hub.cone_angle and drivetrain
uptilt as degrees, but the IEA reference ontologies store radians (IEA-22
cone_angle 0.0698 = 4 deg, uptilt 0.1047 = 6 deg, matched to <0.5 % on CM
against the ElastoDyn deck). A pure-radians reader rejects schema-
conforming degree files; a pure-degrees reader mis-reads the reference
files as ~0 precone. Physical precone and shaft tilt are small (well under
~20 deg), so the two encodings never overlap: interpret a stored magnitude
at or below 0.5 as radians and a larger one as degrees, and reject a value
non-physical under either (> 90). Both a 4 and a 0.0698 cone now assemble
to the same 4 deg RNA.1 parent 6690b5d commit 2900ff1
2 files changed
Lines changed: 50 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
744 | 749 | | |
745 | 750 | | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
754 | 761 | | |
755 | 762 | | |
756 | 763 | | |
| |||
1076 | 1083 | | |
1077 | 1084 | | |
1078 | 1085 | | |
1079 | | - | |
| 1086 | + | |
1080 | 1087 | | |
1081 | 1088 | | |
1082 | 1089 | | |
| |||
1103 | 1110 | | |
1104 | 1111 | | |
1105 | 1112 | | |
1106 | | - | |
| 1113 | + | |
1107 | 1114 | | |
1108 | 1115 | | |
1109 | 1116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
| 210 | + | |
| 211 | + | |
208 | 212 | | |
209 | 213 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
214 | 224 | | |
215 | 225 | | |
216 | | - | |
217 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
218 | 229 | | |
219 | 230 | | |
220 | 231 | | |
221 | 232 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
225 | 236 | | |
226 | 237 | | |
227 | 238 | | |
| |||
0 commit comments