Все ответы об инженерном анализе

Перед началом работы настоятельно рекомендуем ознакомиться с правилами форума.

Maxwell+Simplorer Transient Cosimulation

Dmitry Sitin
Аватар пользователя Dmitry Sitin

Добрый день.

Я моделирую в Simplorer электрическую машину с обвеской в лице регулятора и изменяющейся нагрузки. Режим - Transient Cosimulation. При этом, чтобы не ждать долго, мне интересно сразу посмотреть, как идет переходный процесс, и при необходимости подкорректировать модель и перезапустить. Однако Simplorer отслеживает графики из Maxwell только первые 10-15 точек (в моем случае это менее 1 мс) и далее перестает их обновлять, полный график я вижу только после окончания счета. Как сделать, чтобы графики отображались непрерывно всё время расчёта? Кроме того, в режиме Cosimulation не получается сделать Clean Stop с последующим продолжением на том же временном шаге, и перезапуск расчета из Simplorer можно сделать только начиная со времени 0 с. Это так и задумано или я неправильно задал какие-то опции?

Klyavlin
Аватар пользователя Klyavlin

Нужно попробовать включить опцию Enable continue to solve в настройках Transient analysis. Графики пробуйте обновлять вручную, у меня работает (Results > RMB > Update all reports)

Dmitry Sitin
Аватар пользователя Dmitry Sitin

К сожалению, не получается. Опцию игнорирует.

Выдает "Continue" is not possible with cosimulation, and the flag has been turned off for this cosimulation.

Графики через RMB не обновляет. Первые 10 точек показывает, а потом на команду обновления не реагирует.

Klyavlin
Аватар пользователя Klyavlin

Нужно попробовать отключить динамическое обновление графиков в опциях и делать это вручную, у меня работает.

По поводу рестарта есть кое-что:

Continuing a Cosimulation with Maxwell
After a successful simulation, either to completion or clean-stopped, you can continue the simulation from the current end time.


To enable this possibility:
1. You must first have saved a Simulation State (KRN) file at the end of simulation.

Note

When using Simplorer-Maxwell Transient Cosimulation, save / load state only works with the largest time at which Maxwell was solved. (This is because Maxwell can currently only save one state.) While it is possible to start from an earlier saved time, results may be incorrect. For example, suppose you solve a transient analysis up through 1second and save the simulation state to a file named one_second.krn, then load one_second.krn and solve up through 2seconds and save the new state to a file named two_seconds.krn; if you then reload one_second.krn and solve, Simplorer may give incorrect results because the internal state of Maxwell is as it was at 2 seconds. Resuming from two_seconds.krn will give correct results.

2. You must load the saved KRN file at the beginning of the continuing simulation.

Note To specify the saving and loading of Simulation State (KRN) files, see Design Settings.

3. You must specify an end time greater than the current end time. To reset the end time, double click on the analysis setup in the project window.

Then, simply start analysis. Simulation can be extended this way as many times as desired.

Note If Maxwell is used non-interactively, that is, the Save project after use check box is unchecked, it shuts down after each simulation and results data is lost if not saved, so a KRN file cannot be used successfully. If Save project after use is checked, the end time in the setup must be made greater before the KRN file is loaded or Simplorer simulation will fail. If KRN file save or load is set and the Maxwell project is not set to be saved the following error message displays:
“The Maxwell TR-TR coupling component is not set to save the Maxwell project, but saving or loading a state file has been specified. Maxwell results valid at the state file's end time will be necessary when using a state file.”


Note Unlike usage in a non-cosimulation setting, a specific Simulation State (KRN) file cannot be reused once Maxwell has results at a later time. Also, the Enable continue to solve option is ignored for cosimulation with Maxwell.

Добавить комментарий

Войдите или зарегистрируйтесь, чтобы отправлять комментарии
Приложить файл

Максимальный размер файла: 999 МБ.
Допустимые типы файлов: txt doc docx xls xlsx pdf rar zip 7zip tar.