제 8.3.7 함수 assert
을 설명하고 두 가지 예를 제공합니다,하지만 난 다음 명령 중 하나를 사용하려고 할 때마다, 그것은 예상대로 작동하지 않습니다모델명 assert (condition, message, level = AssertionLevel.warning); Modelica 사양의
assert(T > 250 and T < 400,
"Medium model outside full accuracy range",
AssertionLevel.warning);
또는
assert(T > 250 and T < 400,
"Medium model outside full accuracy range",
level=AssertionLevel.warning);
을
무엇이 잘못 되었나요? 나는 명백한 것을 놓쳤는가?
Dymola 지원팀이 응답을 보내고 레벨 인수가 지원되지 않았 음을 확인했습니다. – matth
업데이트 : 새로운 버전의 Dymola가 수준 인수를 지원합니까? – matth