PlanarRT H — счётное ядро (H-поляризация). Руководство пользователя
Программа: PlanarRT H, файл
planarrt_h.exe. Пакет TMC Suite 5.0 для Windows x64, новый интерфейс (тёмная тема). Заголовок окна: «Анализатор Planar RT H».Прежняя версия с интерфейсом MFC (
tmc_rth.exe) считает по тем же алгоритмам: результаты совпадают побайтно (в отдельных заданиях возможно отличие лишь в последнем двоичном разряде фазы). Её окна в этом руководстве не описываются.Парное ядро для X-моды (плазма, магнитное поле) — PlanarRT X, см. PlanarRT X. Окна у обоих ядер одинаковые; здесь они описаны полностью.
Изменения по исправлениям 26.10.2026 (версия 5.1) — см. История изменений.
Содержание
- Назначение программы
- Запуск программы и открытие задания
- Главное окно
- Панель инструментов
- Меню
- Окна программы
- Совместная работа с FieldView: поле во время расчёта
- Расчёт на видеокарте
- Многочастотный расчёт
- Пакетный режим и отчёт о времени расчёта (ключ
/Time) - Новое задание: TPL Designer
- Входные и выходные файлы
- Типичные задачи по шагам
- Частые вопросы и ошибки
- Связанные документы
- Чек-лист снимков экрана
1. Назначение программы
PlanarRT H — счётное ядро пакета TMC Suite. В окне «О программе» его назначение сформулировано так: «Счётное ядро для электродинамического анализа H-плоскостных планарных волноводных СВЧ устройств на основе метода Rt сеток».
Ядро читает текстовый файл задания .tpl (геометрия устройства, параметры сетки и времени, входы,
что выводить) и рассчитывает во временно́й области, как волна, поданная на входы устройства,
распространяется и рассеивается. Результаты ядро записывает в файлы, а показывают их отдельные
программы пакета:
| Что получается | Файл | Чем смотреть |
|---|---|---|
| Сигналы падающих и отражённых волн на входах | .t |
TMCROS (TMCROS) |
| Матрица рассеяния (S-матрица) | .s |
TMCGROUT (TMCGROUT) |
| Диаграмма направленности | .DAT |
TMC_DN (TMC_DN) |
| Поле в области (по тактам) и топология устройства | .ex, .tt |
FieldView (FieldView) |
Само окно ядра графиков не рисует: рабочая область закрашена цветом фона. Ядро управляет расчётом, показывает его ход и запускает программы просмотра.
Два слова, которые важно не путать:
| Термин | Что означает |
|---|---|
| Шаг | Один вариант расчёта — секция #STEP … #END_STEP в файле задания. В задании может быть несколько шагов (например, свип по частоте: каждый шаг — своя частота). |
| Такт | Один шаг по времени внутри расчёта шага (номер такта — nT, длительность такта — t0). Шаг состоит из сотен и тысяч тактов. |
2. Запуск программы и открытие задания
2.1. Где находится программа
| Вариант установки | Где planarrt_h.exe |
Как запустить |
|---|---|---|
Установщик TMC_Suite_5.0_Qt6_Setup.exe |
по умолчанию C:\Program Files\TMC Suite Qt\ (при установке «только для меня» — %LOCALAPPDATA%\Programs\TMC Suite Qt\) |
меню «Пуск» → TMC Suite → PlanarRT H — расчёт (H-поляризация); ярлык PlanarRT H на рабочем столе, если он был выбран при установке |
Без установки — папка TMC_Suite_Qt6_win64 |
в самой папке (все программы пакета лежат вместе) | двойной щелчок по planarrt_h.exe |
Если при установке было выбрано сопоставление файлов
.tpl, двойной щелчок по файлу задания открывает TPL Designer, а не ядро. Чтобы посчитать задание, откройте его в ядре командой «Файл → Открыть…».
2.2. Открыть задание
- Нажмите кнопку
Открыть на панели
инструментов, или выберите меню Файл → Открыть…, или нажмите Ctrl+O. - В стандартном окне выбора файла найдите файл задания с расширением
.tplи нажмите «Открыть». Фильтр файлов окна показывает файлы*.tpl; второй вариант фильтра — все файлы (*.*). - Задание откроется в отдельном окне внутри главного окна (развёрнутом на всю рабочую область).
Имя файла появится в заголовке:
Анализатор Planar RT H - [demo_h.tpl].
Сразу после открытия ядро читает первый шаг задания: запускает препроцессор (раскрывает
#include и #define, вычисляет выражения), разбирает секции #PARM, #TOPOLOGY, #LINK_LIST,
#OUTPUT. Результат чтения виден в левой части строки состояния:
Шаг:1;Error:no— шаг прочитан, ошибок нет;Шаг:1;<текст ошибки>— в задании ошибка; расчёт не запустится, пока её не исправить (см. раздел 14).
Пример задания для первого знакомства — samples/DEMO/PlanarRT_H/demo_h.tpl из папки samples
в папке программы (см. Знакомство с пакетом). Скопируйте его в свою папку: ядро пишет
результаты рядом с заданием, а в Program Files писать нельзя.
2.3. Несколько заданий одновременно
Можно открыть несколько заданий: каждое — в своём окне внутри главного окна. Команды меню и панели относятся к активному (выбранному) окну. Расположить окна заданий можно через меню Окно (раздел 5.6). Кнопки свернуть / восстановить / закрыть окно задания находятся справа в строке меню.
2.4. Запуск из командной строки
planarrt_h.exe "C:\работа\задание.tpl"
Задание откроется сразу. Ключи /Ar, /Arb, /Time, /GPU, /CPU описаны в
разделе 10. Путь к заданию указывайте полным.
2.5. Закрыть задание и выйти
- Файл → Закрыть — закрыть окно активного задания (во время расчёта команда недоступна).
- Файл → Выход или кнопка закрытия окна — выйти из программы. Если идёт расчёт, программа спросит: «Идёт расчёт. Остановить и закрыть?» — «Да» останавливает расчёт и закрывает программу, «Нет» — продолжает расчёт.
3. Главное окно

| Зона | Что в ней |
|---|---|
| Заголовок | «Анализатор Planar RT H» и имя файла активного задания в квадратных скобках. |
| Строка меню | Меню Файл, Правка, Вид, Расчёт, Настройки, Окно, Справка (раздел 5). Справа — кнопки окна задания. |
| Панель инструментов | 23 кнопки самых нужных команд (раздел 4). |
| Рабочая область | Окно задания. Закрашено цветом фона (меняется: Настройки → Цвет → Фон). Графики и поле здесь не рисуются — для них есть программы просмотра. |
| Строка состояния | Ход расчёта, сообщения ядра, номер такта, что выводится, на чём идёт счёт (раздел 3.1). |
Окно во время расчёта:

Во время расчёта недоступны (серые) кнопки запуска и перехода по шагам, зато доступна
кнопка
Стоп (красный квадрат).
3.1. Строка состояния
Во время расчёта:

После окончания расчёта:

Если на каком-то шаге свипа была ошибка, расчёт доходит до конца, а в строке состояния остаются надпись «Готово с ошибками» (красным) и итог: на каких шагах были ошибки и текст первой из них:

Если расчёт закончился без ошибок, но ядро выдало предупреждение (например, о незатухшем отклике в
окне SMATRIX многочастотного расчёта), надпись — «Готово, есть предупреждения» (жёлтым), а
текст предупреждения остаётся в строке состояния после конца расчёта:

Ошибка в задании (расчёт не начинался) — текст ошибки с номером шага, полосы хода нет:

Части строки слева направо:
| Часть | Пример | Что показывает |
|---|---|---|
| Полоса хода | бирюзовая полоса | Доля выполненного расчёта (подробно — раздел 3.2). Видна только во время расчёта и сразу после его успешного окончания. |
| Этап | Шаг 2 из 2 · Расчёт 52%, Готово, Готово с ошибками, Готово, есть предупреждения |
Что сейчас делает ядро и сколько процентов готово; после конца — итог расчёта. |
| Сообщения ядра | Расчёт шага 2 Прошло: 0, Шаг 2 завершён, Шаг:1;Error:no, Error at step 2 (…): … |
Ход счёта (номер шага и прошедшее время в секундах; дальше — мин:с и ч:мин:с), начало и конец шага, результат чтения задания, тексты ошибок и предупреждений (WARNING: …). В начале шага здесь же сообщается, на чём будет считаться шаг (процессор или видеокарта и почему). Сообщение Error at step N (f): … означает ошибку на шаге N свипа: расчёт при этом продолжается (раздел 13.2). |
| Такт | nT:400;Время:0.09ns |
Во время счёта: номер текущего такта и модельное время (обновляется каждые 100 тактов). После окончания шага: nT:8480;4;0.000471698 — число выполненных тактов; затраченное время, с; время на один такт, с. При остановке кнопкой «Стоп» — nT:<такт>(<время>);<с>;<с на такт>. Сразу после открытия задания здесь стоит Модель: Double (вычисления с двойной точностью). |
| Вывод | Вывод: сигнал, Вывод: сигнал + топология + поле + синхронизация |
Что ядро записывает во время расчёта: сигнал на входах — всегда; топологию, поле и режим синхронизации — если они включены (раздел 7). |
| Расчёт | Расчёт: GPU — NVIDIA GeForce RTX 5070 Ti, Расчёт: CPU |
Выбранный режим счёта: видеокарта (с её именем) или процессор (раздел 8). |
Надпись «Расчёт: GPU — …» означает, что расчёт на видеокарте разрешён. Небольшие задания ядро всё равно считает на процессоре — об этом сообщает левая часть строки в начале шага и строка
Computeв отчёте «Время расчёта».
3.2. Ход расчёта
Полоса хода заполняется один раз за весь расчёт, сколько бы шагов в задании ни было. Если шагов три, полоса дойдёт до трети к концу первого шага, до двух третей — к концу второго и до конца — к концу третьего. Назад полоса не откатывается.
| Подпись этапа | Что происходит | Полоса |
|---|---|---|
Подготовка: запуск |
расчёт запускается | стоит |
Подготовка: задание |
чтение задания | стоит |
Подготовка: препроцессор |
раскрытие макросов и #include |
стоит |
Подготовка: блоки |
построение блоков топологии на сетке | стоит |
Подготовка: сетка |
подготовка сетки перед счётом | стоит |
Расчёт 45% |
идёт счёт по тактам | заполняется |
Готово |
расчёт успешно закончен | заполнена целиком |
Готово, есть предупреждения (жёлтым) |
расчёт закончен, ядро выдало предупреждение — его текст остаётся справа | заполнена целиком |
Готово с ошибками (красным) |
расчёт дошёл до конца, но на части шагов была ошибка (в .s на их частотах — нули); справа — список таких шагов и текст первой ошибки |
заполнена целиком |
- Если в задании больше одного шага, перед этапом пишется номер шага:
Шаг 2 из 3 · Расчёт 45%,Шаг 2 из 3 · Подготовка: препроцессор. - У этапов подготовки процентов нет, поэтому полоса во время подготовки неподвижна: пустая на первом шаге и с уже набранной долей — на следующих.
- Команда «Запуск» (
F5) считает шаги от текущего до последнего — полоса охватывает их все. Команда «Шаг расчёта» (F8) считает только текущий шаг — полоса охватывает только его. - Если расчёт остановлен кнопкой «Стоп» или задание не прочиталось (ошибка в задании), полоса и подпись этапа исчезают. Ошибка на отдельном шаге расчёт не обрывает — в конце будет «Готово с ошибками».
4. Панель инструментов

При наведении указателя на кнопку всплывает подсказка с полным названием команды (в таблице — столбец «Подсказка»).
Цветные кружки на кнопках.
- Переключатели «Вывод топологии», «Вывод поля», «Синхронизация», «Звуковое сопровождение», «Пакетный режим»: зелёный кружок — режим включён, красный — выключен. У звука в выключенном состоянии динамик перечёркнут.
- Кнопки программ пакета «Новое задание (TPL Designer)», «Показать выходной сигнал», «Показать поле и топологию», «Показать S-матрицу», «Показать диаграмму направленности»: зелёный кружок — программа сейчас открыта, красный — закрыта.
- Серая кнопка недоступна в текущем состоянии (например, «Стоп», когда расчёт не идёт).
Без открытого задания доступны только «Новое задание», «Открыть» и «О программе».
| № | Кнопка | Подсказка | Что делает | Клавиши |
|---|---|---|---|---|
| 1 | ![]() |
Новое задание (TPL Designer) | Запускает TPL Designer — программу для создания задания .tpl без ручного набора текста (раздел 11). |
Ctrl+N |
| 2 | ![]() |
Открыть | Открывает файл задания .tpl (раздел 2.2). |
Ctrl+O |
| 3 | ![]() |
Правка во внешнем редакторе | Открывает текущий .tpl во внешнем текстовом редакторе (по умолчанию — Блокнот Windows). Если редактор не запускается — сообщение «Укажите внешний редактор» и окно выбора программы. |
Alt+F7 |
| 4 | ![]() |
Показать выходной сигнал | Запускает TMCROS с файлом сигналов .t текущего шага. |
Alt+Shift+F4 |
| 5 | ![]() |
Показать поле и топологию | Запускает FieldView с файлом поля .ex текущего шага. Доступна, только если включены и «Вывод поля», и «Вывод топологии». |
— |
| 6 | ![]() |
Показать S-матрицу | Запускает TMCGROUT с файлом S-матрицы .s текущего шага. |
Ctrl+Shift+F4 |
| 7 | ![]() |
Показать диаграмму направленности | Запускает TMC_DN с файлом диаграммы направленности .DAT. Доступна, если в #OUTPUT шага задано распределение поля (FIELD_DISTRIBUTION или FIELD_DISTRIBUTION_M). |
Ctrl+Alt+F4 |
| 8 | ![]() |
Окно статистики | Открывает окно «Статистика» — параметры сетки и расчёта (раздел 6.2). | Shift+F4 |
| 9 | ![]() |
Загрузить первый шаг | Останавливает расчёт (если он идёт), делает текущим шаг 1 и заново читает его из файла. | Shift+F5 |
| 10 | ![]() |
Запуск | Считает все шаги задания, начиная с текущего и до последнего. Каждый шаг перед счётом заново читается из файла. | F5 |
| 11 | ![]() |
Стоп | Останавливает идущий расчёт. Доступна только во время чтения задания или расчёта. | Alt+F5 |
| 12 | ![]() |
Шаг расчёта | Считает только текущий шаг (уже прочитанный). | F8 |
| 13 | ![]() |
Загрузить шаг | Останавливает расчёт и заново читает текущий шаг из файла — например, после правки задания в редакторе. | Shift+F8 |
| 14 | ![]() |
Пропустить шаг | Переходит к следующему шагу задания без расчёта и читает его (если следующий шаг есть). | Ctrl+F6 |
| 15 | ![]() |
Шаг назад | Переходит к предыдущему шагу без расчёта и читает его (с шага 1 назад не уходит). | Alt+F6 |
| 16 | ![]() |
Вывод топологии | Переключатель: записывать ли топологию в файл .tt. При переключении ядро записывает .tt для загруженного шага. |
F4 |
| 17 | ![]() |
Вывод поля | Переключатель: записывать ли поле в файл .ex на каждом такте. Сильно замедляет расчёт. |
Ctrl+F4 |
| 18 | ![]() |
Синхронизация | Переключатель: ждать ли, пока FieldView прочитает очередной кадр поля (раздел 7). Доступен, только если включён «Вывод поля». | — |
| 19 | ![]() |
Экспорт в файл диаграммы направленности | Строит файл диаграммы направленности .DAT из накопленного распределения поля. |
— |
| 20 | ![]() |
Звуковое сопровождение | Переключатель: проигрывать ли мелодию по окончании шага и всего расчёта (раздел 6.6). | — |
| 21 | ![]() |
Пакетный режим | Переключатель автозапуска (в меню — «Автозапуск»): при включённом режиме задание, открытое после этого, сразу начинает считаться, а после успешного окончания расчёта программа закрывается. | — |
| 22 | ![]() |
Печать | Открывает системное окно печати Windows и печатает изображение рабочей области (в ядре это только фон). Для PDF — принтер «Microsoft Print to PDF». | Ctrl+P |
| 23 | ![]() |
О программе | Окно «О программе» (раздел 6.1). | — |
5. Меню
5.1. Файл

| Пункт | Клавиши | Что делает |
|---|---|---|
| Новое задание (TPL Designer)... | Ctrl+N |
Запускает TPL Designer (раздел 11). |
| Открыть... | Ctrl+O |
Открывает файл задания .tpl. |
| Закрыть | — | Закрывает окно активного задания. Во время расчёта недоступно. |
| Сохранить | Ctrl+S |
В текущей версии действия не выполняет: задание правится и сохраняется во внешнем редакторе. |
| Сохранить как... | — | Копирует файл задания .tpl под новым именем (окно сохранения файла); дальше окно работает с новым файлом. Подключаемые файлы (#include) не копируются. |
| Печать... | Ctrl+P |
Системное окно печати; печатается изображение рабочей области. |
| Предпросмотр печати | — | Окно предварительного просмотра страницы перед печатью. |
| Параметры печати... | — | Выбор принтера, бумаги и полей страницы. |
| Выход | — | Выход из программы (во время расчёта — с вопросом «Идёт расчёт. Остановить и закрыть?»). |
5.2. Правка

| Пункт | Клавиши | Что делает |
|---|---|---|
| Редактор задания | Alt+F7 |
Открывает текущий .tpl во внешнем текстовом редакторе (задаётся в Настройки → Редактор, по умолчанию — Блокнот). Если редактор не запускается — сообщение «Укажите внешний редактор» и окно выбора программы. |
| Отменить | Ctrl+Z |
В ядре действия не выполняет (пункт сохранён из прежней версии). |
| Вырезать | Ctrl+X |
В ядре действия не выполняет. |
| Копировать | Ctrl+C |
В ядре действия не выполняет. |
| Вставить | Ctrl+V |
В ядре действия не выполняет. |
После правки задания в редакторе сохраните файл в редакторе и нажмите в ядре Загрузить шаг (
Shift+F8), чтобы ядро перечитало задание. Команда «Запуск» перечитывает шаги сама.
5.3. Вид

| Пункт | Клавиши | Что делает |
|---|---|---|
| Выходной сигнал | Alt+Shift+F4 |
Запускает TMCROS с файлом .t. |
| Поле и топология | — | Запускает FieldView с файлом .ex. Доступен, только если включены «Топология» и «Поле» (на снимке недоступен — они выключены). |
| Статистика | Shift+F4 |
Окно «Статистика» (раздел 6.2). |
| S-матрица | Ctrl+Shift+F4 |
Запускает TMCGROUT с файлом .s. |
| Диаграмма направленности | Ctrl+Alt+F4 |
Запускает TMC_DN с файлом .DAT. |
| Панель инструментов | — | Показать / скрыть панель инструментов (галочка — показана). |
| Строка состояния | — | Показать / скрыть строку состояния (галочка — показана). |
Если файла результата ещё нет, ядро создаёт пустой файл с нужным именем и открывает его в программе просмотра — так программа просмотра может следить за файлом, пока ядро его пишет. Если программа просмотра не запускается, появляется сообщение вида «Укажите внешнюю программу просмотра …» и окно выбора программы (раздел 6.8).
5.4. Расчёт

| Пункт | Клавиши | Что делает |
|---|---|---|
| Запуск | F5 |
Считает шаги от текущего до последнего, каждый шаг перед счётом перечитывается из файла. |
| Загрузить первый шаг | Shift+F5 |
Останавливает расчёт, делает текущим шаг 1 и читает его. |
| Шаг расчёта | F8 |
Считает только текущий шаг. |
| Загрузить шаг | Shift+F8 |
Останавливает расчёт и перечитывает текущий шаг. |
| Пропустить шаг | Ctrl+F6 |
Переход к следующему шагу без расчёта. |
| Шаг назад | Alt+F6 |
Переход к предыдущему шагу без расчёта. |
| Стоп | Alt+F5 |
Останавливает расчёт (доступен только во время расчёта; на снимке недоступен). |
Все пункты, кроме «Стоп», во время расчёта недоступны.
5.5. Настройки

| Пункт | Клавиши | Что делает |
|---|---|---|
| Расчёт на видеокарте... | — | Окно проверки видеокарты и включения расчёта на ней (раздел 6.7). |
| Language / Язык ► | — | Язык интерфейса (подменю ниже). |
| Редактор | — | Выбор внешнего текстового редактора для команды «Редактор задания» (раздел 6.8). |
| Вьюверы ► | — | Выбор программ просмотра результатов (подменю ниже). |
| Цвет ► | — | Цвет фона рабочей области (подменю ниже). |
| Формат ► | — | Форматы чисел в выходном файле (подменю ниже). |
| Топология | F4 |
То же, что кнопка «Вывод топологии». Значок пункта показывает состояние (зелёный / красный кружок). |
| Поле | Ctrl+F4 |
То же, что кнопка «Вывод поля». |
| Синхронизация | — | То же, что кнопка «Синхронизация». Доступна, только если включено «Поле» (на снимке недоступна). |
| Диаграмма направленности | — | То же, что кнопка «Экспорт в файл диаграммы направленности». |
| Звук ► | — | Звуковое сопровождение (подменю ниже). |
| Автозапуск | — | То же, что кнопка «Пакетный режим». |
| Настройка | — | Перечитывает сохранённые пути к внешнему редактору и программам просмотра; если путь не сохранён, подставляет значение по умолчанию (Блокнот и программы пакета). |
Подменю «Language / Язык».

| Пункт | Что делает |
|---|---|
| System / Как в системе | Язык интерфейса — как у Windows: русский, если интерфейс Windows русский, иначе английский. |
| Русский | Русский интерфейс. |
| English | Английский интерфейс. |
Галочка отмечает текущий выбор. В английском интерфейсе меню называется Config, подменю стоит
сразу после пункта «Расчёт на видеокарте...». Язык меняется сразу во всех открытых окнах этой
программы. Настройка общая для всех программ пакета (%APPDATA%\TMC_Suite_Qt\Common.ini, раздел
[UI], параметр Language = system, ru или en): другие программы пакета, уже открытые в
этот момент, перейдут на новый язык при следующем запуске — каждая программа читает выбор языка
один раз, при старте. Подробно — overview.md, раздел 6.2.
Подменю «Вьюверы».

| Пункт | Какую программу выбрать |
|---|---|
| Выходной сигнал | TMCROS (tmcros.exe) |
| Поле | FieldView (fieldview.exe) |
| S-матрица | TMCGROUT (tmcgrout.exe) |
| Диаграмма направленности | TMC_DN (tmc_dn.exe) |
Каждый пункт открывает окно выбора файла программы (.exe). Обычно ничего выбирать не нужно: если
указанной программы нет, ядро запускает программу пакета с тем же именем из своей папки.
Подменю «Цвет».

| Пункт | Что делает |
|---|---|
| Фон | Окно выбора цвета; после «ОК» рабочая область закрашивается выбранным цветом. Цвет запоминается. |
Подменю «Формат».

| Пункт | Что делает |
|---|---|
| Файл выходных данных | Окно «Формат файла выходных данных» (раздел 6.5). |
Подменю «Звук».

| Пункт | Что делает |
|---|---|
| Вкл./Выкл. | То же, что кнопка «Звуковое сопровождение». |
| Мелодия | Окно «Звуковые эффекты» (раздел 6.6). |
5.6. Окно

| Пункт | Что делает |
|---|---|
| Каскадом | Располагает окна открытых заданий каскадом (со сдвигом друг относительно друга). |
| Мозаикой | Располагает окна заданий рядом, без перекрытия. |
| Упорядочить значки | В этой версии действует так же, как «Мозаикой». |
5.7. Справка

| Пункт | Что делает |
|---|---|
| О программе PlanRT_H... | Окно «О программе» (раздел 6.1). |
6. Окна программы
6.1. О программе
Открывается: Справка → О программе PlanRT_H... или кнопкой
.

| Элемент | Что это |
|---|---|
| Значок и название PlanarRT_H | Программа. |
| Описание | «Счётное ядро для электродинамического анализа H-плоскостных планарных волноводных СВЧ устройств на основе метода Rt сеток». |
Модель : Double Professional |
Точность вычислений (Double — числа двойной точности) и редакция программы (Professional). |
| Метки «Версия 5.0», «2026», «Windows · x64» | Версия, год, платформа. |
| АВТОР — К. Н. Климов, © 2026 | Автор пакета. |
| Кнопки GitHub, LinkedIn, ResearchGate, eLibrary | Открывают в браузере страницы автора на этих сайтах. |
| www.tamic.ru | Открывает сайт проекта. |
| Руководство пользователя | Открывает руководство пользователя. Программа ищет рядом с собой PDF на языке интерфейса — TMC_Suite_5.0_Руководство_пользователя.pdf (русский) или TMC_Suite_5.0_User_Manual.pdf (английский). Метка «PDF» — файл найден, откроется он. Метка «НА САЙТЕ» (в английском интерфейсе — «ONLINE») — PDF рядом с программой нет, откроется руководство на сайте www.tamic.ru/docs/user-manual/index.html. Подробно — overview.md, раздел 6.6. |
TMC Suite 5.0 · Qt 6.11.1 |
Версия пакета и библиотеки интерфейса. |
| ОК | Закрыть окно. |
6.2. Статистика
Открывается: Вид → Статистика, Shift+F4 или кнопкой
. Показывает параметры загруженного шага:
сетку, время, оценку памяти и точности, имена выходных файлов. Окно можно открыть в любой момент, в
том числе во время расчёта.
До расчёта:

После расчёта (изменилась оценка памяти — учтена память, занятая блоками):

Значения на снимках — для задания demo_h.tpl (Δ = 1 мм, частота 30 ГГц, время 0…3 нс, область
200 × 100 мм).
Группа «Параметры».
| Поле | Что показывает | На снимке |
|---|---|---|
| Единицы → Длина, Время, Частота, Угол | Единицы измерения из #PARM (LONG_UNIT, TIME_UNIT, FREQ_UNIT, ANGLE_UNIT). Все остальные числа окна — в этих единицах. |
mm, ns, ГГц, radian |
| Delta - шаг по пространству | Шаг сетки Δ (DELTA). |
1 |
| t0 - шаг по времени | Длительность одного такта t0. | 0.00235865 |
| Частота | Частота шага (FREQ). |
30 |
| Длина волны | Длина волны в вакууме λ = c / f. | 9.99308 |
| NumNode | Число узлов сетки: ((Xmax − Xmin)/Δ + 1) · ((Ymax − Ymin)/Δ + 1). | 20604 |
| Память (МБ) | Оценка памяти под сетку и блоки, МБ (не измеренное значение; фактический пик памяти — в отчёте «Время расчёта»). | 1.889 / 2.042 |
| Время → min, max | Интервал времени анализа (TIME). |
0, 3 |
| Размер X → min, max | Границы расчётной области по X. | 0, 201 |
| Размер Y → min, max | Границы расчётной области по Y. | 0, 101 |
| Точность | Относительная ошибка сеточной длины волны (пространственная дисперсия сетки): δ = arccos(2·cos(ωt0) − 1) / (√2·ωt0) − 1, где ω = 2πf, — отношение набега фазы на шаг сетки к набегу фазы в непрерывном пространстве, минус 1, для волны в вакууме вдоль рёбер сетки (докторская диссертация К. Н. Климова, 2007, разделы 6.5 и 7.4, формулы (7.42), (7.87)). Зависит только от числа тактов на период колебания; в диэлектрике и под углом к рёбрам ошибка другая. | 0.86 % |
Группа «Расчётные величины».
| Поле | Формула | Смысл | На снимке |
|---|---|---|---|
| Длина волны / Delta | λ / Δ | Сколько шагов сетки на длину волны. | 9.99308 |
| Размер X / длина волны | (Xmax − Xmin) / λ | Размер области по X в длинах волн. | 20.114 |
| Размер Y / длина волны | (Ymax − Ymin) / λ | Размер области по Y в длинах волн. | 10.107 |
| T / t0 | 1 / (f · t0) | Сколько тактов на один период колебания. | 14.1324 |
| Время / t0 | (Tmax − Tmin) / t0 | Сколько всего тактов в шаге. | 1272 |
| Время / T | (Tmax − Tmin) · f | Сколько периодов колебания укладывается во время анализа. | 90 |
Правая часть окна.
| Элемент | Что это |
|---|---|
| Шаг | Номер загруженного шага задания. |
| Пред. | Перейти к предыдущему шагу: ядро читает его, и окно открывается заново с его данными. |
| Следующий | Перейти к следующему шагу (аналогично). |
| Сообщение об ошибке | Ошибка чтения или расчёта шага. Error:no — ошибок нет. |
| Топология → Блок | Число блоков в секции #TOPOLOGY шага. |
| Список блоков | Окно «Блок» с параметрами каждого блока (раздел 6.4). |
Группа «Вывод».
| Элемент | Что это |
|---|---|
| Сигнал | Полный путь к файлу сигналов .t. |
| Поле | Полный путь к файлу поля .ex. |
| Топология | Полный путь к файлу топологии .tt. |
| Флажок «Поле» | Включён ли вывод поля (то же, что кнопка «Вывод поля»). Изменение применяется по «ОК». |
| Флажок «Топология» | Включён ли вывод топологии (то же, что кнопка «Вывод топологии»). Изменение применяется по «ОК». |
| Формат данных | Точность вычислений и редакция программы (Double Professional). |
Кнопки.
| Кнопка | Что делает |
|---|---|
| Время расчёта... | Окно «Время расчёта» (раздел 6.3). |
| Отмена | Закрыть окно без изменений. |
| ОК | Закрыть окно и применить флажки «Поле» и «Топология». |
Поля окна предназначены для просмотра. Пути к файлам при «ОК» тоже записываются обратно в загруженный шаг, поэтому не меняйте их здесь: имена файлов задаются строкой
FILEв#OUTPUT.
6.3. Время расчёта
Открывается кнопкой Время расчёта... в окне «Статистика». Показывает подробный отчёт: сколько времени ушло на каждый этап каждого шага.

| Элемент | Что делает |
|---|---|
| Текст отчёта | Отчёт (на английском языке, моноширинным шрифтом). Прокручивается. |
| Обновить | Пересобрать отчёт. Во время расчёта показывает текущее состояние. |
| Экспорт в TXT... | Сохранить отчёт в текстовый файл. Имя по умолчанию — <задание>.timing_H_win64.txt. После записи — сообщение «Отчёт сохранён» с путём к файлу (или «Не удалось записать файл»). |
| Закрыть | Закрыть окно. |
Шапка отчёта.
| Строка | Что в ней |
|---|---|
| Kernel | Ядро, платформа, дата сборки (здесь указано историческое имя файла ядра tmc_rth.exe). |
| Project (.tpl) | Путь к заданию. |
| Report created / Run started | Когда построен отчёт и когда запущен расчёт (Run all — командой «Запуск»). |
| Computer, CPU, RAM | Имя компьютера, процессор и число логических процессоров, объём памяти. |
| Timer | Таймер, которым измерено время. |
| Peak memory | Пиковый объём памяти, занятой процессом. |
Блок каждого шага — STEP N (состояние): finished (закончен), running (идёт), stopped
(остановлен), error (ошибка), not run (не запускался). Далее:
| Строка | Что в ней |
|---|---|
| Grid | Размер сетки nX × nY, число узлов, число блоков. |
| Time steps | Выполнено тактов из заданных; dt — такт в секундах; delta — шаг сетки в метрах. |
| Compute | На чём считался шаг: CPU, видеокарта, или CPU (…) с причиной, например «сетка из 20604 узлов меньше порога GPU 150000». |
| Distribution files (.eps) | Использует ли шаг файлы распределения ε: not used, written by N block(s), read by M block(s). |
Таблица этапов (h:mm:ss.mmm, секунды, % от времени шага):
| Группа | Строки |
|---|---|
| A. Препроцессор и ввод | A1 освобождение данных предыдущего шага; A2 препроцессор; A3 чтение секций #PARM/#TOPOLOGY/#LINK_LIST/#OUTPUT |
| B. Подготовка | B1 выходные файлы; B2 файлы FIELD_DISTRIBUTION; B3 память сетки; B4 блоки на сетке (в т. ч. B5 запись файлов распределения ε, B5a блоки FILE); B6 пересчёт ε в параметры узлов; B7 запись файла топологии |
| C. Цикл по времени | C1 возбуждение входов; C2 рассеяние в узлах сетки (основной счёт); C3 узлы блоков (металл, поглотитель, входы); C4 запись сигналов на диск; C5 запись файла поля; C6 накопление FIELD_DISTRIBUTION; C7 обновление строки состояния; C8 прочее |
| D. Постобработка | D1 файлы .AMP/.FAZ/.DAT и диаграмма направленности; D2 S-матрица (.s) |
| E. Прочее | E1 звуковой сигнал в конце шага |
В конце — TOTAL STEP TIME (время шага), сумма по всем шагам и TOTAL CALCULATION TIME — полное
время от нажатия «Запуск» до окончания.
Тот же отчёт можно получить без окна — ключом /Time (раздел 10).
6.4. Блок (список блоков)
Открывается кнопкой Список блоков в окне «Статистика». Показывает параметры одного блока топологии; кнопками можно листать блоки по порядку.

| Элемент | Что показывает |
|---|---|
| Номер | Номер блока (BLOCK n;). |
| Смещение → X0, Y0 | Положение блока в области — из строки T n; X0; Y0; секции #LINK_LIST. |
| Ед. длины | Единица длины. |
| Тип | Ключевое слово блока: RECT_STAT, CIRCLE_STAT, POLYGON_STAT, INPUT_X, INPUT_Y, FILE и т. д. |
| Память, МБ | Память, занятая блоком. |
| Выражение для eps | Материал (METAL, MAGNETIC, ABSORBER) или выражение для ε. |
| Линейная скорость Vx, Vy; Угловая скорость | Скорости для подвижных блоков (*_MOVE); у неподвижных пусто. |
| nPoint | Число вершин (для многоугольника). |
| nType | Числовой код типа блока (служебная величина). |
| Xmin, Xmax, Ymin, Ymax | Габариты блока. Подписи зависят от типа: у сектора — Rmin, Rmax, FImin, FImax (радиус и угол); у входа INPUT_X — Ymin, Ymax и Tmin, Tmax (временно́е окно); у INPUT_Y — Xmin, Xmax, Tmin, Tmax. |
| Столбцы X, Y | Координаты вершин многоугольника (показываются первые 10 вершин). |
| Предыдущий / Следующий | Показать предыдущий / следующий блок. |
| Отмена / ОК | Закрыть окно. |
6.5. Формат файла выходных данных
Открывается: Настройки → Формат → Файл выходных данных.

Поля задают форматы чисел в стиле языка C (printf): %9d — целое шириной 9 знаков, %15.7g —
число с 7 значащими цифрами в поле шириной 15.
| Поле (группа «Сигнал») | Что записывается этим форматом в файл .t |
На снимке |
|---|---|---|
| Номер отсчёта времени - int | Номер такта (целое). | %9d |
| Текущее время - double | Модельное время. | %15.7g |
| Блок - int | Номер блока-входа (целое). | %4d |
| Падающая волна - double | Падающая волна на входе. | %15.7g |
| Рассеянная волна - double | Рассеянная (отражённая) волна на входе. | %15.7g |
| Элемент | Что делает |
|---|---|
| Группа «Поле» | Формат чисел в файле поля .ex. Пустое поле (как на снимке) — поле пишется в двоичном виде; если задан формат — текстом. |
| Значения по умолчанию | Вернуть все форматы к значениям по умолчанию (окно откроется заново с ними). |
| ОК | Сохранить форматы. Они запоминаются и действуют для следующих расчётов. |
Меняйте форматы только при необходимости: от них зависит число значащих цифр в выходных файлах.
6.6. Звуковые эффекты (мелодия)
Открывается: Настройки → Звук → Мелодия.

| Элемент | Что делает |
|---|---|
| Вкладка «Мелодия 1» | Мелодия, которая звучит по окончании расчёта каждого шага (подпись справа — «Окончание расчёта шага»). |
| Вкладка «Мелодия 2» | Мелодия по окончании всего расчёта («Окончание всего расчёта»). |
| 12 столбцов «Нота» | 12 нот мелодии по порядку. В каждом столбце выберите ноту: C, C#, D, D#, E, F, F#, G, G#, A, A#, B (до … си, от 262 до 494 Гц) или Конец — на этом месте мелодия заканчивается, следующие столбцы не звучат. |
| Интервал, мс | Длительность звучания каждой ноты в миллисекундах (от 1 до 60000). |
| ОК | Сохранить мелодии и закрыть окно. |
| Отмена | Закрыть без изменений. |
| Применить | Стандартная кнопка окна с вкладками; на снимке недоступна. |
Мелодии звучат, только если звук включён (кнопка «Звуковое сопровождение» с зелёным кружком). По умолчанию «Мелодия 1» — гамма вверх (на снимке), «Мелодия 2» — гамма вниз.
6.7. Расчёт на видеокарте
Открывается: Настройки → Расчёт на видеокарте.... Заголовок окна — «Расчёт на GPU».

| Элемент | Что это |
|---|---|
| Надпись под заголовком | Итог проверки, например «Проверка пройдена: видеокарта готова к расчётам». |
| Таблица видеокарт | Видеокарта, Память, Двойная точность (Да/Нет), Самопроверка (Пройдена/Не пройдена), Драйвер. |
| Панель подробностей | Характеристики выбранной карты и пункты проверки: драйвер OpenCL найден; двойная точность поддерживается; видеокарта принимает работу (контекст OpenCL); драйвер собрал расчётную программу; пробный расчёт совпадает с процессором бит в бит. Ниже — оценка ускорения на пробной сетке 2048×2048. |
| Флажок «Использовать видеокарту для расчётов» | Разрешить расчёт на видеокарте. |
| Пояснение | Программа сама решает для каждого задания: небольшие сетки и задания, не помещающиеся в память карты, считаются на процессоре; ключи /GPU и /CPU отменяют настройку. |
| Строка «Сохранено: …» | Что сохранено и результат последней проверки. |
| ОК | Сохранить настройку. Действует для следующего расчёта в этом же окне программы; строка состояния показывает «Расчёт: GPU — …» или «Расчёт: CPU». |
| Проверить снова | Повторить проверку (например, после обновления драйвера). |
| Отмена | Закрыть без изменений. |
Подробно — раздел 8 и отдельное руководство Расчёт на видеокарте.
6.8. Выбор внешней программы
Пункты Настройки → Редактор и Настройки → Вьюверы → … открывают стандартное окно выбора
файла. Выберите исполняемый файл (.exe) нужной программы и нажмите «Открыть». Путь запоминается.
- Редактор по умолчанию — Блокнот Windows (
NOTEPAD.EXE). - Программы просмотра по умолчанию — программы пакета из папки, где лежит ядро.
Это же окно появляется само после сообщения «Укажите внешний редактор» или «Укажите внешнюю программу просмотра …», если программу не удалось запустить.
6.9. Сообщения программы
| Сообщение | Когда появляется | Что делать |
|---|---|---|
| «Идёт расчёт. Остановить и закрыть?» | Закрытие программы во время расчёта. | «Да» — остановить и закрыть, «Нет» — продолжить расчёт. |
| «Укажите внешний редактор» | Не запускается внешний редактор. | Выбрать программу в открывшемся окне. |
| «Укажите внешнюю программу просмотра выходного сигнала / поля / S-матрицы / диаграммы направленности» | Не запускается программа просмотра. | Выбрать .exe программы в открывшемся окне. |
| «Где находится TPL Designer?» (окно выбора файла) | TPL Designer не найден рядом с ядром. | Указать TplDesigner.exe; путь запомнится. |
| «Не удалось запустить TPL Designer: <путь>» | Файл найден, но не запускается. | Проверить файл, переустановить пакет. |
7. Совместная работа с FieldView: поле во время расчёта
FieldView умеет показывать поле по ходу расчёта: ядро на каждом такте записывает кадр поля в файл
.ex, FieldView его читает и запоминает. Полученные такты потом можно пролистать ползунком.

На снимке слева — ядро (идёт расчёт, Расчёт 7%, у кнопок «Вывод топологии», «Вывод поля»,
«Синхронизация» зелёные кружки, у кнопки «Показать поле и топологию» — тоже зелёный: FieldView
открыт), справа — FieldView со слежением за расчётом («слежение: 166 кадр. от ядра»).
Что нужно, чтобы поле писалось. В секции #OUTPUT задания должны быть обе строки:
#OUTPUT
FILE horn;
TOPOLOGY;
FIELDS;
...
#END_OUTPUT
Пример — samples/DEMO/PlanarRT_H/horn.tpl. Без них кнопки «Вывод топологии» и «Вывод поля» при
чтении шага выключаются (раздел 4).
Вывод поля сильно замедляет расчёт: на каждом такте на диск пишется вся сетка. Для серийных и больших расчётов уберите
FIELDS;(иTOPOLOGY;, если топология не нужна).
Порядок действий.
- Откройте задание с
TOPOLOGY;иFIELDS;в#OUTPUT. Убедитесь, что у кнопок
«Вывод топологии» и
«Вывод поля» зелёные кружки. - Включите
Синхронизация (зелёный
кружок). В строке состояния: Вывод: сигнал + топология + поле + синхронизация. - Нажмите
Показать поле и
топологию. Откроется FieldView с файлом поля задания; кружок на кнопке станет зелёным. - В FieldView включите «Следить за расчётом» (первая кнопка панели «Такты»).
- В ядре нажмите
Запуск (F5). - FieldView показывает новые кадры по мере расчёта. После окончания расчёта такты можно пролистывать ползунком и сохранять анимацию (см. FieldView).
Что даёт синхронизация. При включённой синхронизации ядро перед записью следующего кадра ждёт, пока FieldView прочитает предыдущий, — ни один кадр не пропадает, но расчёт идёт в темпе FieldView. Если FieldView не читает файл около 25 секунд (например, закрыт), ядро перестаёт ждать и продолжает расчёт; ждать оно начнёт снова, когда FieldView опять прочитает файл. Без синхронизации ядро пишет кадры не дожидаясь, и FieldView может показать не все такты. В пакетном режиме (раздел 10) синхронизация не действует. Состояние синхронизации запоминается между запусками программы.
8. Расчёт на видеокарте
Основной счёт по тактам может выполняться на видеокарте NVIDIA или AMD. Результат на видеокарте совпадает с расчётом на процессоре бит в бит (проверено на 44 заданиях). Нужен только обычный драйвер видеокарты — CUDA и другие пакеты не нужны. Расчёт на видеокарте есть только в 64-разрядной версии для Windows.
Как включить:
- Настройки → Расчёт на видеокарте... (раздел 6.7).
- Дождитесь окончания проверки: в таблице у карты «Двойная точность — Да», «Самопроверка — Пройдена».
- Поставьте флажок «Использовать видеокарту для расчётов» и нажмите ОК.
- В строке состояния справа —
Расчёт: GPU — <имя карты>.
Небольшие задания ядро считает на процессоре, даже когда видеокарта разрешена: для PlanarRT H порог —
150 000 узлов сетки (меньше — процессор). Причину ядро пишет в левой части строки состояния в
начале шага и в строке Compute отчёта «Время расчёта».
Ключи командной строки перекрывают настройку: /GPU — считать на видеокарте, /CPU — на процессоре.
Подробно — Расчёт на видеокарте.
9. Многочастотный расчёт
Обычно каждый шаг задания даёт одну частотную точку S-матрицы, а частотная характеристика получается
свипом — несколькими шагами с разными FREQ, которые пишут в один и тот же файл .s. В этом
случае строка состояния показывает Шаг k из n, а полоса хода — общий ход всего свипа. В
одночастотном режиме частота строки SMATRIX обязана равняться FREQ шага, а окно Tmin; Tmax; —
обязательно (Файл задания .tpl, раздел 7.4).
Многочастотный расчёт позволяет получить характеристику во всей полосе за один проход:
- падающая волна задаётся файлом
.sig— в параметре амплитуды входа пишется имя файла в квадратных скобках, напримерINPUT_X ; ylo; yhi; 0; 40; [wg_multi]; 0;; - в файле сигнала строка
#FREQперечисляет частоты (тоны) сигнала; FREQв#PARMставится в центр полосы — по ней согласуется вход;- при строке
SMATRIXядро само записывает в.sвсе частоты полосы; окноTmin…Tmaxстроки учитывается, а записьSMATRIX имя; F;без окна означает полное окно 0…Tmaxзадания (с 26.10.2026); - если отклик импульса к концу окна не затух или окно начинается, пока идёт падающий импульс, ядро выдаёт предупреждение (S-матрица всё равно записывается);
- диаграммы направленности (с
FIELD_DISTRIBUTION_M) строятся по одной на тон — файлы<имя>_<МГц>MHz.DAT.
Файл .s дополняется, а не перезаписывается: перед повторным расчётом удалите старый .s.
Подробно — Многочастотный расчёт; пример — папка samples/MULTIFREQ.
10. Пакетный режим и отчёт о времени расчёта (ключ /Time)
Ядро можно запустить так, чтобы оно само открыло задание, посчитало все шаги и закрылось:
"C:\Program Files\TMC Suite Qt\planarrt_h.exe" "C:\работа\задание.tpl" /Ar /Time
| Ключ | Действие |
|---|---|
/Ar |
Автозапуск: открыть задание, посчитать все шаги; после успешного расчёта программа закрывается, при ошибке окно остаётся открытым. |
/Arb |
То же, но программа закрывается после любого окончания расчёта (и при ошибке). |
/Time |
В конце расчёта записать рядом с заданием отчёт <задание>.timing_H_win64.txt — тот же, что в окне «Время расчёта». Без ключа файл не создаётся. |
/GPU, /CPU |
Считать на видеокарте / на процессоре независимо от настройки. |
Ключи пишутся отдельными словами через пробел, можно и через дефис (-Ar). При /Ar и /Arb
программа пишет ход расчёта в консоль, из которой запущена, и возвращает код:
0 — всё посчитано, 1 — ошибка в задании, 2 — ошибка при расчёте, 3 — расчёт
остановлен.
С 26.10.2026 ошибка на одном шаге свипа не обрывает расчёт: на частоте этого шага в .s
записываются нули, остальные шаги считаются, а в конце возвращается код 2 со списком шагов с
ошибками (Работа без окон, п. 1.4).
Кнопка
«Пакетный режим» (меню
«Автозапуск») включает тот же автозапуск из окна: задание, открытое после её включения, сразу
считается, а после успешного расчёта программа закрывается. Режим не запоминается между запусками.
Подробно (несколько заданий подряд, Linux) — Работа без окон.
11. Новое задание: TPL Designer
Задание .tpl можно написать вручную (справочник языка — Файл задания .tpl) или собрать
в программе TPL Designer без набора текста.
- Нажмите первую кнопку панели
Новое задание (TPL Designer), или Файл → Новое задание (TPL Designer)..., или Ctrl+N. - Ядро ищет
TplDesigner.exe: в сохранённом пути, рядом с собой, в папкеTplDesigner, по пути, записанному установщиком. Если не нашло — один раз спрашивает «Где находится TPL Designer?» и запоминает ответ. - Пока TPL Designer открыт, кружок на кнопке зелёный.
- Создайте задание в TPL Designer и сохраните его в файл
.tpl. - Откройте сохранённый файл в ядре (Файл → Открыть...) и запустите расчёт.
Подробно — TPL Designer.
12. Входные и выходные файлы
Входные файлы.
| Файл | Что это |
|---|---|
.tpl |
Задание. Первая строка — #TMC_RT_H, последняя — #EOF. Секции каждого шага: #PARM, #TOPOLOGY, #LINK_LIST, #OUTPUT. Полный справочник — Файл задания .tpl. |
.h и другие подключаемые файлы |
Подключаются в задание командой #include; должны лежать рядом с заданием. |
.eps |
Распределение диэлектрической проницаемости ε, записанное ядром ранее (блоки FILE). |
.sig |
Падающая волна из файла (многочастотный расчёт, раздел 9). |
Выходные файлы пишутся в папку задания. Имена строятся от имени в строке FILE <имя>; секции
#OUTPUT (имя без точки).
| Файл | Когда пишется | Что в нём | Чем смотреть |
|---|---|---|---|
<имя>.t |
всегда | Сигналы падающих и рассеянных волн на входах по тактам | TMCROS |
.s |
строка SMATRIX |
S-матрица (дополняется при каждом шаге; на частоте шага с ошибкой — нули) | TMCGROUT |
<имя>.tt |
TOPOLOGY; |
Топология устройства | FieldView |
<имя>.ex |
FIELDS; |
Поле текущего такта (файл перезаписывается каждый такт) | FieldView |
.AMP, .FAZ |
FIELD_DISTRIBUTION / _M |
Амплитуда и фаза распределения поля на частоте | FieldView |
.DAT |
FIELD_DISTRIBUTION / _M |
Диаграмма направленности | TMC_DN |
.eps |
блоки вида RECT_STAT [имя]выражение |
Распределение ε | ядро (вход для блоков FILE) |
<задание>.timing_H_win64.txt |
ключ /Time или «Экспорт в TXT...» |
Отчёт о времени расчёта | любой текстовый редактор |
В коде заданы ещё имена .ey, .hz, .em, .ef, .q, .ix, .iy, но текущая версия ядра эти
файлы не пишет.
13. Типичные задачи по шагам
13.1. Первый расчёт и просмотр сигнала
- Запустите PlanarRT H.
- Файл → Открыть... →
samples/DEMO/PlanarRT_H/demo_h.tpl. - Проверьте строку состояния:
Шаг:1;Error:no. - Нажмите
(Shift+F4): проверьте сетку, число узлов и оценку памяти. Закройте окно кнопкой «Отмена». - Нажмите
(F5). Следите за полосой хода. - Когда появится «Готово», нажмите
(Alt+Shift+F4) — откроется TMCROS с сигналами на входе.
13.2. Частотная характеристика (свип) и S-матрица
- В задании должно быть несколько шагов с разными
FREQи строкойSMATRIXс одним и тем же именем файла. Частота вSMATRIXкаждого шага должна совпадать сFREQэтого шага, окноTmin; Tmax;— на установившемся участке. - Удалите старый файл
.s, если он остался от прошлого расчёта (файл дополняется). - Нажмите Загрузить первый шаг (
Shift+F5), затем Запуск (F5). Строка состояния покажетШаг k из n · Расчёт …%. - Если на каком-то шаге произошла ошибка, в строке состояния появится
Error at step N (f): …; расчёт продолжится со следующего шага, а на частоте шага с ошибкой в.sбудут нули. - После «Готово» нажмите
(Ctrl+Shift+F4) — откроется TMCGROUT.
13.3. Посмотреть поле во время расчёта
Порядок действий — раздел 7.
13.4. Посчитать один выбранный шаг
- Кнопками Пропустить шаг (
Ctrl+F6) и Шаг назад (Alt+F6) выберите шаг; номер виден в окне «Статистика» и в строке состояния (Шаг:N;…). - Нажмите Шаг расчёта (
F8).
13.5. Исправить задание и пересчитать
- Нажмите
(Alt+F7) — задание откроется во внешнем редакторе. - Исправьте и сохраните файл в редакторе.
- В ядре нажмите Загрузить шаг (
Shift+F8) и проверьте строку состояния (Error:no). - Запустите расчёт.
13.6. Узнать, сколько времени занял расчёт
- После расчёта откройте «Статистика» → Время расчёта....
- Посмотрите
TOTAL STEP TIMEпо шагам иTOTAL CALCULATION TIME. - Экспорт в TXT... — сохранить отчёт.
13.7. Включить звуковой сигнал окончания расчёта
- Включите
(зелёный кружок). - При желании настройте мелодии: Настройки → Звук → Мелодия.
14. Частые вопросы и ошибки
| Ситуация | Причина и что делать |
|---|---|
В строке состояния Шаг:1;<текст ошибки> |
Ошибка в задании. Текст ошибки виден также в окне «Статистика» → «Сообщение об ошибке». Исправьте задание, сохраните, нажмите «Загрузить шаг» (Shift+F8). Правила языка — Файл задания .tpl. |
| Задание не читается, ошибка препроцессора | Проверьте, что рядом с заданием лежат все файлы из #include, первая строка — #TMC_RT_H, последняя — #EOF. |
Ошибка разбора шага со строкой SMATRIX |
В одночастотном режиме частота SMATRIX должна равняться FREQ шага (подсказка в сообщении: SMATRIX name; <FREQ>; Tmin; Tmax;), а окно Tmin; Tmax; обязательно (Файл задания .tpl, раздел 7.4). |
| Ошибка «Unknow type block» | В задании блок, которого нет в H-ядре (например, *_STAT_S, FILE_N, FILE_B, FILE_Y — блоки X-ядра). Откройте задание в PlanarRT X (PlanarRT X). |
Ошибка разбора из-за t или f в 8-м параметре входа |
В параметре 8 входа (Eps) переменные t и f недопустимы (Файл задания .tpl, раздел 5.5). |
| Кнопка «Запуск» серая | Идёт расчёт или чтение задания. Дождитесь окончания или нажмите «Стоп». |
| Кнопка «Поле и топология» серая | Не включены «Вывод топологии» и «Вывод поля». Добавьте в #OUTPUT строки TOPOLOGY; и FIELDS;. |
| Кнопка «Синхронизация» серая | Выключен «Вывод поля». |
| FieldView открылся, но поле не появляется | Включите в FieldView «Следить за расчётом» и запустите расчёт в ядре; проверьте, что в #OUTPUT есть FIELDS;. |
| Расчёт идёт очень долго | Чаще всего включён вывод поля (FIELDS;) и синхронизация с FieldView. Уберите FIELDS; для серийных расчётов; выключите синхронизацию. |
| Строка «Расчёт: GPU — …», а задание посчиталось на процессоре | Сетка меньше порога (150 000 узлов) — так задумано. Причина — в строке Compute отчёта «Время расчёта». |
| В TMCGROUT лишние точки в S-матрице | Файл .s дополняется при каждом расчёте. Удаляйте его перед повторным расчётом. |
| В TMCGROUT нет кривой, одна точка | В задании один шаг — одна частота. Для кривой нужен свип (раздел 13.2) или многочастотный расчёт. |
В .s на одной из частот свипа — нули |
На этом шаге была ошибка: сообщение Error at step N (f): … в строке состояния и консоли; итоговый код — 2. Исправьте причину и пересчитайте этот шаг. |
| «Редактор задания» открывает не тот редактор | Выберите редактор: Настройки → Редактор. |
| Программа закрылась сама после расчёта | Был включён «Пакетный режим» (автозапуск). Выключите его кнопкой (красный кружок). |
| Ошибка «Directional pattern window ends at … after the calculation time: DN files are not written» или файлов ДН нет, код 2 | Окно накопления FIELD_DISTRIBUTION заканчивается на конце времени анализа TIME или позже. Окно должно кончаться раньше TIME (Файл задания .tpl, раздел 7.5). Сделайте окно короче или время анализа длиннее. |
| Ошибка «Frequency … is below cutoff of port» | Частота ниже критической для входа: вход слишком узкий для этой частоты. Расширьте вход или поднимите частоту. |
| S-матрица изменилась после смены амплитуды или фазы входа (в старых версиях) | С 26.10.2026 S-матрица делится на падающую волну (S = Uo/Up), поэтому амплитуда и фаза входа на неё не влияют (Файл задания .tpl, раздел 5.5). |
15. Связанные документы
- PlanarRT X — ядро PlanarRT X (X-мода, плазма).
- Файл задания .tpl — язык заданий
.tpl: полный справочник. - TPL Designer — TPL Designer.
- TMCROS, TMCGROUT, TMC_DN, FieldView — программы просмотра.
- Расчёт на видеокарте — расчёт на видеокарте.
- Многочастотный расчёт — многочастотный расчёт.
- Работа без окон — пакетный и консольный режим.
- История изменений — история изменений.
PlanarRT H — compute kernel (H-polarization). User manual
Program: PlanarRT H, file
planarrt_h.exe. The TMC Suite 5.0 package for Windows x64, new interface (dark theme). Window title: Planar RT H analyzer.The previous version with the MFC interface (
tmc_rth.exe) computes with the same algorithms: the results match byte for byte (in some task files a difference is possible only in the last binary digit of the phase). Its windows are not described in this manual.The companion kernel for the X-mode (plasma, magnetic field) is PlanarRT X, see PlanarRT X. The windows of both kernels are the same; they are described here in full.
Changes after the fixes of 26.10.2026 (version 5.1) — see Changelog.
Contents
- Purpose of the program
- Starting the program and opening a task file
- Main window
- Toolbar
- Menus
- Program windows
- Working together with FieldView: the field during the computation
- GPU computing
- Multi-frequency computation
- Batch mode and the calculation-time report (the
/Timekey) - A new task file: TPL Designer
- Input and output files
- Typical tasks step by step
- Frequently asked questions and errors
- Related documents
- Screenshot checklist
1. Purpose of the program
PlanarRT H is a compute kernel of the TMC Suite package. In the About dialog its purpose is stated as follows: "Computational kernel for electrodynamic analysis of H‑plane planar waveguide microwave devices by the Rt-grid method."
The kernel reads a .tpl text task file (the device geometry, the grid and time parameters, the ports,
what to output) and computes in the time domain how a wave fed to the ports of the device
propagates and is scattered. The kernel writes the results to files, and they are shown by separate
programs of the package:
| What is obtained | File | Viewed with |
|---|---|---|
| Signals of the incident and reflected waves at the ports | .t |
TMCROS (TMCROS) |
| Scattering matrix (S-matrix) | .s |
TMCGROUT (TMCGROUT) |
| Radiation pattern | .DAT |
TMC_DN (TMC_DN) |
| The field in the region (by time step) and the device topology | .ex, .tt |
FieldView (FieldView) |
The kernel window itself draws no graphs: the workspace is filled with the background colour. The kernel controls the computation, shows its progress and starts the viewers.
Two words that must not be confused:
| Term | Meaning |
|---|---|
| Step | One computation variant — a #STEP … #END_STEP section in the task file. A task file may contain several steps (for example, a frequency sweep: each step has its own frequency). |
| Time step | One step in time within the computation of a step (the time step number is nT, the time step duration is t0). A step consists of hundreds and thousands of time steps. |
2. Starting the program and opening a task file
2.1. Where the program is
| Installation variant | Where planarrt_h.exe is |
How to start it |
|---|---|---|
The TMC_Suite_5.0_Qt6_Setup.exe installer |
by default C:\Program Files\TMC Suite Qt\ (for a "just for me" installation — %LOCALAPPDATA%\Programs\TMC Suite Qt\) |
Start menu → TMC Suite → PlanarRT H — solver (H-polarization); the PlanarRT H desktop shortcut, if it was selected during installation |
Without installation — the TMC_Suite_Qt6_win64 folder |
in the folder itself (all programs of the package are together) | double-click planarrt_h.exe |
If the
.tplfile association was selected during installation, double-clicking a task file opens TPL Designer, not the kernel. To compute a task, open it in the kernel with the command File → Open....
2.2. Opening a task file
- Click the
Open button on the
toolbar, or choose File → Open..., or press Ctrl+O. - In the standard file selection dialog, find the task file with the
.tplextension and click Open. The file filter of the dialog shows*.tplfiles; the second filter variant is all files (*.*). - The task file opens in a separate window inside the main window (maximized to the whole workspace).
The file name appears in the title:
Planar RT H analyzer - [demo_h.tpl].
Immediately after opening, the kernel reads the first step of the task file: it runs the preprocessor (expands
#include and #define, evaluates expressions) and parses the #PARM, #TOPOLOGY, #LINK_LIST,
#OUTPUT sections. The result of reading is shown in the left part of the status bar:
Step:1;Error:no— the step has been read, there are no errors;Step:1;<error text>— there is an error in the task file; the computation will not start until it is fixed (see Section 14).
An example task file for a first look is samples/DEMO/PlanarRT_H/demo_h.tpl from the samples folder
in the program folder (see Getting started with the package). Copy it to your own folder: the kernel writes
the results next to the task file, and writing to Program Files is not allowed.
2.3. Several task files at once
Several task files can be opened: each in its own window inside the main window. Menu and toolbar commands apply to the active (selected) window. The task windows can be arranged through the Window menu (Section 5.6). The minimize / restore / close buttons of a task window are on the right of the menu bar.
2.4. Starting from the command line
planarrt_h.exe "C:\work\task.tpl"
The task file opens immediately. The keys /Ar, /Arb, /Time, /GPU, /CPU are described in
Section 10. Give the full path to the task file.
2.5. Closing a task file and exiting
- File → Close — close the window of the active task file (the command is unavailable during a computation).
- File → Exit or the window close button — exit the program. If a computation is running, the program asks: "Computation in progress. Stop and close?" — Yes stops the computation and closes the program, No continues the computation.
3. Main window

| Area | What it contains |
|---|---|
| Title bar | Planar RT H analyzer and the file name of the active task in square brackets. |
| Menu bar | The File, Edit, View, Run, Config, Window, Help menus (Section 5). On the right — the task window buttons. |
| Toolbar | 23 buttons for the most needed commands (Section 4). |
| Workspace | The task window. Filled with the background colour (it can be changed: Config → Color → BackGround). Graphs and the field are not drawn here — there are viewers for them. |
| Status bar | Computation progress, kernel messages, the time step number, what is being output, what the computation runs on (Section 3.1). |
The window during a computation:

During a computation the run and step navigation buttons are unavailable (grey), but
the
Stop button (a red square) is available.
3.1. Status bar
During a computation:

After the computation has finished:

If there was an error at some sweep step, the computation runs to the end, and the status bar keeps the label Done with errors (in red) and a summary: at which steps there were errors and the text of the first of them:

If the computation finished without errors but the kernel issued a warning (for example, about an undecayed response in
the SMATRIX window of a multi-frequency computation), the label is Done, with warnings (in yellow), and
the warning text remains in the status bar after the end of the computation:

An error in the task file (the computation did not start) — the error text with the step number, no progress bar:

The parts of the bar from left to right:
| Part | Example | What it shows |
|---|---|---|
| Progress bar | a turquoise bar | The fraction of the computation completed (in detail — Section 3.2). Visible only during the computation and right after its successful completion. |
| Stage | Step 2 of 2 · Calculation 52%, Done, Done with errors, Done, with warnings |
What the kernel is doing now and what percentage is complete; after the end — the result of the computation. |
| Kernel messages | Run Step 2 ElapsTime: 0, Finish step 2, Step:1;Error:no, Error at step 2 (…): … |
Computation progress (the step number and the elapsed time in seconds; later — min:s and h:min:s), the start and end of a step, the result of reading the task file, error and warning texts (WARNING: …). At the start of a step this part also reports what the step will be computed on (the processor or the video card, and why). The message Error at step N (f): … means an error at step N of the sweep: the computation continues (Section 13.2). |
| Time step | nT:400;Time:0.09ns |
During the computation: the number of the current time step and the model time (updated every 100 time steps). After the end of a step: nT:8480;4;0.000471698 — the number of time steps performed; the time spent, s; the time per time step, s. When stopped with the Stop button — nT:<time step>(<time>);<s>;<s per time step>. Right after a task file is opened this part shows Model: Double (double-precision computation). |
| Output | Output: Signal, Output: Signal + Topology + Field + Sinchronization |
What the kernel writes during the computation: the signal at the ports — always; the topology, the field and the synchronization mode — if they are turned on (Section 7). |
| Compute | Compute: GPU — NVIDIA GeForce RTX 5070 Ti, Compute: CPU |
The selected computation mode: the video card (with its name) or the processor (Section 8). |
The label "Compute: GPU — …" means that GPU computing is allowed. Small task files are still computed on the processor — this is reported by the left part of the bar at the start of a step and by the
Computeline in the Calculation time report.
3.2. Computation progress
The progress bar fills once for the whole computation, no matter how many steps the task file contains. If there are three steps, the bar reaches one third by the end of the first step, two thirds by the end of the second, and the end by the end of the third. The bar never goes back.
| Stage label | What is happening | Bar |
|---|---|---|
Preparing: starting |
the computation is starting | stands still |
Preparing: the task |
reading the task file | stands still |
Preparing: preprocessor |
expanding macros and #include |
stands still |
Preparing: blocks |
building the topology blocks on the grid | stands still |
Preparing: grid |
preparing the grid before the computation | stands still |
Calculation 45% |
the time-stepping computation is running | filling |
Done |
the computation finished successfully | completely full |
Done, with warnings (in yellow) |
the computation finished, the kernel issued a warning — its text remains on the right | completely full |
Done with errors (in red) |
the computation ran to the end, but some steps had an error (zeros in the .s at their frequencies); on the right — the list of such steps and the text of the first error |
completely full |
- If the task file has more than one step, the step number is written before the stage:
Step 2 of 3 · Calculation 45%,Step 2 of 3 · Preparing: preprocessor. - The preparation stages have no percentages, so the bar does not move during preparation: it is empty at the first step and shows the fraction already accumulated at the following ones.
- The Run command (
F5) computes the steps from the current one to the last — the bar covers all of them. The Run step command (F8) computes only the current step — the bar covers only it. - If the computation is stopped with the Stop button or the task file could not be read (an error in the task file), the bar and the stage label disappear. An error at an individual step does not abort the computation — at the end there will be Done with errors.
4. Toolbar

When the pointer is held over a button, a tooltip with the full name of the command appears (in the table — the Tooltip column).
Coloured dots on the buttons.
- Toggles Output topology, Output fields, Synchronization, Sound effect, Batch mode: a green dot — the mode is on, red — off. For sound, in the off state the loudspeaker is crossed out.
- Buttons of the package programs New task (TPL Designer), View output, View field and topology, View S-matrix, View Directional Pattern: a green dot — the program is currently open, red — closed.
- A grey button is unavailable in the current state (for example, Stop when no computation is running).
Without an open task file only New task, Open and About are available.
| No. | Button | Tooltip | What it does | Keys |
|---|---|---|---|---|
| 1 | ![]() |
New task (TPL Designer) | Starts TPL Designer — a program for creating a .tpl task file without typing the text by hand (Section 11). |
Ctrl+N |
| 2 | ![]() |
Open | Opens a .tpl task file (Section 2.2). |
Ctrl+O |
| 3 | ![]() |
Extern edit | Opens the current .tpl in an external text editor (Windows Notepad by default). If the editor does not start — the message "Please enter a name of the external editor" and a program selection window. |
Alt+F7 |
| 4 | ![]() |
View output | Starts TMCROS with the .t signal file of the current step. |
Alt+Shift+F4 |
| 5 | ![]() |
View field and topology | Starts FieldView with the .ex field file of the current step. Available only if both Output fields and Output topology are on. |
— |
| 6 | ![]() |
View S-matrix | Starts TMCGROUT with the .s S-matrix file of the current step. |
Ctrl+Shift+F4 |
| 7 | ![]() |
View Directional Pattern | Starts TMC_DN with the .DAT radiation pattern file. Available if the field distribution (FIELD_DISTRIBUTION or FIELD_DISTRIBUTION_M) is specified in the #OUTPUT of the step. |
Ctrl+Alt+F4 |
| 8 | ![]() |
View statistics dialog | Opens the Statistics window — the grid and computation parameters (Section 6.2). | Shift+F4 |
| 9 | ![]() |
Load first step | Stops the computation (if it is running), makes step 1 current and reads it again from the file. | Shift+F5 |
| 10 | ![]() |
Run | Computes all steps of the task file, from the current one to the last. Each step is read again from the file before it is computed. | F5 |
| 11 | ![]() |
Stop | Stops the running computation. Available only while the task file is being read or computed. | Alt+F5 |
| 12 | ![]() |
Run step | Computes only the current step (already read). | F8 |
| 13 | ![]() |
Load step | Stops the computation and reads the current step again from the file — for example, after the task file has been edited in an editor. | Shift+F8 |
| 14 | ![]() |
Skip step | Moves to the next step of the task file without computing and reads it (if there is a next step). | Ctrl+F6 |
| 15 | ![]() |
Back step | Moves to the previous step without computing and reads it (it does not go back from step 1). | Alt+F6 |
| 16 | ![]() |
Output topology | Toggle: whether to write the topology to the .tt file. When toggled, the kernel writes the .tt for the loaded step. |
F4 |
| 17 | ![]() |
Output fields | Toggle: whether to write the field to the .ex file at every time step. Greatly slows down the computation. |
Ctrl+F4 |
| 18 | ![]() |
Synchronization | Toggle: whether to wait until FieldView has read the next field frame (Section 7). Available only if Output fields is on. | — |
| 19 | ![]() |
Export to directional Pattern file | Builds the .DAT radiation pattern file from the accumulated field distribution. |
— |
| 20 | ![]() |
Sound effect | Toggle: whether to play a melody at the end of a step and of the whole computation (Section 6.6). | — |
| 21 | ![]() |
Batch mode | The autorun toggle (in the menu — AutoRun): when the mode is on, a task file opened after that starts computing immediately, and after the computation finishes successfully the program closes. | — |
| 22 | ![]() |
Opens the standard Windows print dialog and prints the image of the workspace (in the kernel this is only the background). For PDF — the "Microsoft Print to PDF" printer. | Ctrl+P |
|
| 23 | ![]() |
About | The About dialog (Section 6.1). | — |
5. Menus
5.1. File

| Item | Keys | What it does |
|---|---|---|
| New task (TPL Designer)... | Ctrl+N |
Starts TPL Designer (Section 11). |
| Open... | Ctrl+O |
Opens a .tpl task file. |
| Close | — | Closes the window of the active task file. Unavailable during a computation. |
| Save | Ctrl+S |
Does nothing in the current version: the task file is edited and saved in an external editor. |
| Save As... | — | Copies the .tpl task file under a new name (a file save dialog); after that the window works with the new file. Included files (#include) are not copied. |
| Print... | Ctrl+P |
The standard print dialog; the image of the workspace is printed. |
| Print Preview | — | A preview window of the page before printing. |
| Print Setup... | — | Selection of the printer, the paper and the page margins. |
| Exit | — | Exits the program (during a computation — with the question "Computation in progress. Stop and close?"). |
5.2. Edit

| Item | Keys | What it does |
|---|---|---|
| Editor | Alt+F7 |
Opens the current .tpl in an external text editor (set in Config → Editor; Notepad by default). If the editor does not start — the message "Please enter a name of the external editor" and a program selection window. |
| Undo | Ctrl+Z |
Does nothing in the kernel (the item has been kept from the previous version). |
| Cut | Ctrl+X |
Does nothing in the kernel. |
| Copy | Ctrl+C |
Does nothing in the kernel. |
| Paste | Ctrl+V |
Does nothing in the kernel. |
After editing the task file in the editor, save the file in the editor and press Load step (
Shift+F8) in the kernel so that the kernel rereads the task file. The Run command rereads the steps by itself.
5.3. View

| Item | Keys | What it does |
|---|---|---|
| Output | Alt+Shift+F4 |
Starts TMCROS with the .t file. |
| Field and topology | — | Starts FieldView with the .ex file. Available only if Topology and Field are on (unavailable in the screenshot — they are off). |
| Statistics | Shift+F4 |
The Statistics window (Section 6.2). |
| S-matrix | Ctrl+Shift+F4 |
Starts TMCGROUT with the .s file. |
| Directional Pattern | Ctrl+Alt+F4 |
Starts TMC_DN with the .DAT file. |
| Toolbar | — | Show / hide the toolbar (a tick — shown). |
| Status Bar | — | Show / hide the status bar (a tick — shown). |
If the result file does not exist yet, the kernel creates an empty file with the required name and opens it in the viewer — this way the viewer can watch the file while the kernel is writing it. If the viewer does not start, a message such as "Please enter a name of the external … viewer" and a program selection window appear (Section 6.8).
5.4. Run

| Item | Keys | What it does |
|---|---|---|
| Run | F5 |
Computes the steps from the current one to the last; each step is reread from the file before it is computed. |
| Load first step | Shift+F5 |
Stops the computation, makes step 1 current and reads it. |
| Run Step | F8 |
Computes only the current step. |
| Load Step | Shift+F8 |
Stops the computation and rereads the current step. |
| Skip Step | Ctrl+F6 |
Moves to the next step without computing. |
| Back Step | Alt+F6 |
Moves to the previous step without computing. |
| Stop | Alt+F5 |
Stops the computation (available only during a computation; unavailable in the screenshot). |
All items except Stop are unavailable during a computation.
5.5. Config

| Item | Keys | What it does |
|---|---|---|
| Compute (GPU)... | — | The window for checking the video card and turning on GPU computing (Section 6.7). |
| Language / Язык ► | — | The interface language (submenu below). |
| Editor | — | Selection of the external text editor for the Editor command (Section 6.8). |
| Viewer ► | — | Selection of the result viewers (submenu below). |
| Color ► | — | The background colour of the workspace (submenu below). |
| Format ► | — | Number formats in the output file (submenu below). |
| Topology | F4 |
The same as the Output topology button. The item icon shows the state (a green / red dot). |
| Field | Ctrl+F4 |
The same as the Output fields button. |
| Synchronization | — | The same as the Synchronization button. Available only if Field is on (unavailable in the screenshot). |
| Directional Pattern | — | The same as the Export to directional Pattern file button. |
| Sound ► | — | Sound effects (submenu below). |
| AutoRun | — | The same as the Batch mode button. |
| Setup | — | Rereads the saved paths to the external editor and the viewers; if a path is not saved, it substitutes the default value (Notepad and the programs of the package). |
The Language / Язык submenu.

| Item | What it does |
|---|---|
| System / Как в системе | The interface language follows Windows: Russian if the Windows interface is Russian, otherwise English. |
| Русский | Russian interface. |
| English | English interface. |
A tick marks the current choice. The submenu is in the Config menu
right after the Compute (GPU)... item. The language changes at once in all open windows of this
program. The setting is shared by all programs of the package (%APPDATA%\TMC_Suite_Qt\Common.ini, section
[UI], parameter Language = system, ru or en): other programs of the package that are already open at
that moment will switch to the new language the next time they are started — each program reads the language choice
once, at startup. For details — overview.md, Section 6.2.
The Viewer submenu.

| Item | Which program to select |
|---|---|
| Output signal | TMCROS (tmcros.exe) |
| Field | FieldView (fieldview.exe) |
| S-matrix | TMCGROUT (tmcgrout.exe) |
| Directional Pattern | TMC_DN (tmc_dn.exe) |
Each item opens a dialog for selecting the program file (.exe). Usually nothing needs to be selected: if
the specified program does not exist, the kernel starts the package program with the same name from its own folder.
The Color submenu.

| Item | What it does |
|---|---|
| BackGround | A colour selection window; after OK the workspace is filled with the selected colour. The colour is remembered. |
The Format submenu.

| Item | What it does |
|---|---|
| OutputDataFile | The Set format for output data file window (Section 6.5). |
The Sound submenu.

| Item | What it does |
|---|---|
| On/Off | The same as the Sound effect button. |
| Melody | The Sound Effects window (Section 6.6). |
5.6. Window

| Item | What it does |
|---|---|
| Cascade | Arranges the windows of the open task files in a cascade (offset from each other). |
| Tile | Arranges the task windows side by side, without overlapping. |
| Arrange Icons | In this version acts in the same way as Tile. |
5.7. Help

| Item | What it does |
|---|---|
| About PlanRT_H... | The About dialog (Section 6.1). |
6. Program windows
6.1. About
Opened with Help → About PlanRT_H... or with the
button.

| Element | What it is |
|---|---|
| The icon and the name PlanarRT_H | The program. |
| Description | "Computational kernel for electrodynamic analysis of H‑plane planar waveguide microwave devices by the Rt-grid method." |
Model : Double Professional |
The computation precision (Double — double-precision numbers) and the program edition (Professional). |
| The labels "Version 5.0", "2026", "Windows · x64" | Version, year, platform. |
| AUTHOR — K. N. Klimov, © 2026 | The author of the package. |
| The GitHub, LinkedIn, ResearchGate, eLibrary buttons | Open the author's pages on these sites in the browser. |
| www.tamic.ru | Opens the project website. |
| User Manual | Opens the user manual. The program looks next to itself for the PDF in the interface language — TMC_Suite_5.0_Руководство_пользователя.pdf (Russian) or TMC_Suite_5.0_User_Manual.pdf (English). The "PDF" label — the file has been found and it will be opened. The "ONLINE" label — there is no PDF next to the program, the manual on the website www.tamic.ru/docs/user-manual/index.html will be opened. For details — overview.md, Section 6.6. |
TMC Suite 5.0 · Qt 6.11.1 |
The version of the package and of the interface library. |
| OK | Close the dialog. |
6.2. Statistics
Opened with View → Statistics, Shift+F4 or with the
button. It shows the parameters of the loaded step:
the grid, the time, the memory and accuracy estimates, the names of the output files. The window can be opened at any moment,
including during a computation.
Before the computation:

After the computation (the memory estimate has changed — the memory occupied by the blocks has been taken into account):

The values in the screenshots are for the demo_h.tpl task (Δ = 1 mm, frequency 30 GHz, time 0…3 ns, region
200 × 100 mm).
The Parameters group.
| Field | What it shows | In the screenshot |
|---|---|---|
| Unit → Long, Time, Frequence, Angle | The units of measurement from #PARM (LONG_UNIT, TIME_UNIT, FREQ_UNIT, ANGLE_UNIT). All other numbers in the window are in these units. |
mm, ns, GHz, radian |
| Delta - space discr | The grid step Δ (DELTA). |
1 |
| t0 - time discr | The duration of one time step t0. | 0.00235865 |
| Frequence | The frequency of the step (FREQ). |
30 |
| Wavelenght | The wavelength in vacuum λ = c / f. | 9.99308 |
| NumNode | The number of grid nodes: ((Xmax − Xmin)/Δ + 1) · ((Ymax − Ymin)/Δ + 1). | 20604 |
| Memory MB | An estimate of the memory for the grid and the blocks, MB (not a measured value; the actual memory peak is in the Calculation time report). | 1.889 / 2.042 |
| Time → min, max | The analysis time interval (TIME). |
0, 3 |
| X size → min, max | The boundaries of the computational region along X. | 0, 201 |
| Y size → min, max | The boundaries of the computational region along Y. | 0, 101 |
| Accuracy | The relative error of the grid wavelength (the spatial dispersion of the grid): δ = arccos(2·cos(ωt0) − 1) / (√2·ωt0) − 1, where ω = 2πf, — the ratio of the phase advance per grid step to the phase advance in continuous space, minus 1, for a wave in vacuum along the grid edges (K. N. Klimov's doctoral dissertation, 2007, Sec. 6.5 and 7.4, formulas (7.42), (7.87)). It depends only on the number of time steps per oscillation period; in a dielectric and at an angle to the edges the error is different. | 0.86 % |
The Calculated value group.
| Field | Formula | Meaning | In the screenshot |
|---|---|---|---|
| Wavelenght / Delta | λ / Δ | How many grid steps there are per wavelength. | 9.99308 |
| Xsize / Wavelenght | (Xmax − Xmin) / λ | The size of the region along X in wavelengths. | 20.114 |
| Ysize / Wavelenght | (Ymax − Ymin) / λ | The size of the region along Y in wavelengths. | 10.107 |
| T / t0 | 1 / (f · t0) | How many time steps there are per oscillation period. | 14.1324 |
| Time / t0 | (Tmax − Tmin) / t0 | How many time steps there are in the step in total. | 1272 |
| Time / T | (Tmax − Tmin) · f | How many oscillation periods fit into the analysis time. | 90 |
The right part of the window.
| Element | What it is |
|---|---|
| Step | The number of the loaded step of the task file. |
| Prev. | Go to the previous step: the kernel reads it, and the window opens again with its data. |
| Next | Go to the next step (similarly). |
| Error message | An error in reading or computing the step. Error:no — no errors. |
| Topology → Block | The number of blocks in the #TOPOLOGY section of the step. |
| View block list | The Block window with the parameters of each block (Section 6.4). |
The Output group.
| Element | What it is |
|---|---|
| Signal | The full path to the .t signal file. |
| Field | The full path to the .ex field file. |
| Topology | The full path to the .tt topology file. |
| The Field check box | Whether field output is on (the same as the Output fields button). The change is applied on OK. |
| The Topology check box | Whether topology output is on (the same as the Output topology button). The change is applied on OK. |
| Data Format | The computation precision and the program edition (Double Professional). |
Buttons.
| Button | What it does |
|---|---|
| Calc. time... | The Calculation time window (Section 6.3). |
| Cancel | Close the window without changes. |
| OK | Close the window and apply the Field and Topology check boxes. |
The fields of the window are intended for viewing. The file paths are also written back to the loaded step on OK, so do not change them here: the file names are set by the
FILEline in#OUTPUT.
6.3. Calculation time
Opened with the Calc. time... button in the Statistics window. It shows a detailed report: how much time was spent on each stage of each step.

| Element | What it does |
|---|---|
| Report text | The report (in English, in a monospaced font). It can be scrolled. |
| Refresh | Rebuild the report. During a computation it shows the current state. |
| Export to TXT... | Save the report to a text file. The default name is <task>.timing_H_win64.txt. After writing — the message "Report saved:" with the path to the file (or "Can't write file:"). |
| Close | Close the window. |
The report header.
| Line | What it contains |
|---|---|
| Kernel | The kernel, the platform, the build date (the historical name of the kernel file tmc_rth.exe is given here). |
| Project (.tpl) | The path to the task file. |
| Report created / Run started | When the report was built and when the computation was started (Run all — with the Run command). |
| Computer, CPU, RAM | The computer name, the processor and the number of logical processors, the amount of memory. |
| Timer | The timer with which the time was measured. |
| Peak memory | The peak amount of memory occupied by the process. |
The block of each step — STEP N (state): finished, running, stopped,
error, not run. Then:
| Line | What it contains |
|---|---|
| Grid | The grid size nX × nY, the number of nodes, the number of blocks. |
| Time steps | The time steps performed out of those specified; dt — the time step in seconds; delta — the grid step in metres. |
| Compute | What the step was computed on: CPU, a video card, or CPU (…) with the reason, for example "grid of 20604 nodes is below the GPU threshold 150000". |
| Distribution files (.eps) | Whether the step uses ε distribution files: not used, written by N block(s), read by M block(s). |
The table of stages (h:mm:ss.mmm, seconds, % of the step time):
| Group | Lines |
|---|---|
| A. Preprocessor and input | A1 releasing the data of the previous step; A2 preprocessor; A3 reading the #PARM/#TOPOLOGY/#LINK_LIST/#OUTPUT sections |
| B. Preparation | B1 output files; B2 FIELD_DISTRIBUTION files; B3 grid memory; B4 blocks on the grid (including B5 writing the ε distribution files, B5a FILE blocks); B6 conversion of ε into node parameters; B7 writing the topology file |
| C. Time loop | C1 port excitation; C2 scattering in the grid nodes (the main computation); C3 block nodes (metal, absorber, ports); C4 writing the signals to disk; C5 writing the field file; C6 accumulation of FIELD_DISTRIBUTION; C7 status bar update; C8 other |
| D. Post-processing | D1 the .AMP/.FAZ/.DAT files and the radiation pattern; D2 the S-matrix (.s) |
| E. Other | E1 the sound signal at the end of the step |
At the end — TOTAL STEP TIME (the step time), the sum over all steps and TOTAL CALCULATION TIME — the full
time from pressing Run to the end.
The same report can be obtained without a window — with the /Time key (Section 10).
6.4. Block (block list)
Opened with the View block list button in the Statistics window. It shows the parameters of one topology block; the buttons let you page through the blocks in order.

| Element | What it shows |
|---|---|
| Number | The block number (BLOCK n;). |
| Displacement → X0, Y0 | The position of the block in the region — from the T n; X0; Y0; line of the #LINK_LIST section. |
| LongUnit | The length unit. |
| Type | The keyword of the block: RECT_STAT, CIRCLE_STAT, POLYGON_STAT, INPUT_X, INPUT_Y, FILE, etc. |
| Memory MB | The memory occupied by the block. |
| Expression for eps | The material (METAL, MAGNETIC, ABSORBER) or the expression for ε. |
| Linear speed Vx, Vy; Angular speed | The velocities for moving blocks (*_MOVE); empty for stationary ones. |
| nPoint | The number of vertices (for a polygon). |
| nType | The numeric code of the block type (an internal quantity). |
| Xmin, Xmax, Ymin, Ymax | The dimensions of the block. The labels depend on the type: for a sector — Rmin, Rmax, FImin, FImax (radius and angle); for an INPUT_X port — Ymin, Ymax and Tmin, Tmax (the time window); for INPUT_Y — Xmin, Xmax, Tmin, Tmax. |
| The X, Y columns | The coordinates of the polygon vertices (the first 10 vertices are shown). |
| Previous / Next | Show the previous / next block. |
| Cancel / OK | Close the window. |
6.5. Set format for output data file
Opened with Config → Format → OutputDataFile.

The fields set the number formats in the style of the C language (printf): %9d — an integer 9 characters wide, %15.7g —
a number with 7 significant digits in a field 15 characters wide.
| Field (the Signal group) | What is written to the .t file with this format |
In the screenshot |
|---|---|---|
| Time discret - int | The time step number (an integer). | %9d |
| Current time - double | The model time. | %15.7g |
| Block - int | The number of the port block (an integer). | %4d |
| Falling - double | The incident wave at the port. | %15.7g |
| Scattering - double | The scattered (reflected) wave at the port. | %15.7g |
| Element | What it does |
|---|---|
| The Field group | The number format in the .ex field file. An empty field (as in the screenshot) — the field is written in binary form; if a format is specified — as text. |
| Set default | Reset all formats to their default values (the window opens again with them). |
| OK | Save the formats. They are remembered and apply to subsequent computations. |
Change the formats only if necessary: the number of significant digits in the output files depends on them.
6.6. Sound Effects (melody)
Opened with Config → Sound → Melody.

| Element | What it does |
|---|---|
| The Melody 1 tab | The melody that plays at the end of the computation of each step (the label on the right is Step finish calculation). |
| The Melody 2 tab | The melody at the end of the whole computation (All finish calculation). |
| 12 Note columns | The 12 notes of the melody in order. In each column, select a note: C, C#, D, D#, E, F, F#, G, G#, A, A#, B (from 262 to 494 Hz) or End — the melody ends at this position, and the following columns do not sound. |
| Interval ms | The duration of each note in milliseconds (from 1 to 60000). |
| OK | Save the melodies and close the window. |
| Cancel | Close without changes. |
| Apply | The standard button of a tabbed window; unavailable in the screenshot. |
The melodies play only if sound is on (the Sound effect button with a green dot). By default Melody 1 is a rising scale (in the screenshot), Melody 2 is a falling scale.
6.7. Calculation on the video card
Opened with Config → Compute (GPU).... The window title is Compute.

| Element | What it is |
|---|---|
| The line under the heading | The result of the check, for example "Check passed: the video card is ready for calculations." |
| Video card table | Video card, Memory, Double precision (Yes/No), Self-test (Passed/Failed), Driver. |
| Details panel | The characteristics of the selected card and the check items: OpenCL driver found; double precision supported; the video card accepts work (OpenCL context); the driver compiled the calculation program; test calculation matches the processor bit for bit. Below — the speed-up estimate on a 2048×2048 test grid. |
| The Use the video card for calculations check box | Allow GPU computing. |
| Explanation | The program decides for each task by itself: small grids and tasks that do not fit into the card memory are computed on the processor; the /GPU and /CPU keys override the setting. |
| The "Saved: …" line | What has been saved and the result of the last check. |
| OK | Save the setting. It applies to the next computation in the same program window; the status bar shows "Compute: GPU — …" or "Compute: CPU". |
| Check again | Repeat the check (for example, after a driver update). |
| Cancel | Close without changes. |
For details — Section 8 and the separate manual GPU computing.
6.8. Selecting an external program
The Config → Editor and Config → Viewer → … items open the standard file selection
dialog. Select the executable file (.exe) of the required program and click Open. The path is remembered.
- The default editor is Windows Notepad (
NOTEPAD.EXE). - The default viewers are the programs of the package from the folder where the kernel is.
The same dialog appears by itself after the message "Please enter a name of the external editor" or "Please enter a name of the external … viewer" if the program could not be started.
6.9. Program messages
| Message | When it appears | What to do |
|---|---|---|
| "Computation in progress. Stop and close?" | Closing the program during a computation. | Yes — stop and close, No — continue the computation. |
| "Please enter a name of the external editor" | The external editor does not start. | Select the program in the dialog that opens. |
| "Please enter a name of the external output signal / field / S-matrix / directional pattern viewer" | A viewer does not start. | Select the .exe of the program in the dialog that opens. |
| "Where is TPL Designer?" (a file selection dialog) | TPL Designer was not found next to the kernel. | Specify TplDesigner.exe; the path will be remembered. |
| "Cannot start TPL Designer: |
The file has been found but does not start. | Check the file, reinstall the package. |
7. Working together with FieldView: the field during the computation
FieldView can show the field as the computation proceeds: at every time step the kernel writes a field frame to the
.ex file, and FieldView reads and remembers it. The time steps obtained can later be browsed with a slider.

On the left of the screenshot is the kernel (a computation is running, Calculation 7%, the Output topology, Output fields,
Synchronization buttons have green dots, the View field and topology button has a green one too: FieldView
is open); on the right is FieldView following the computation ("following: 166 frames from the kernel").
What is needed for the field to be written. The #OUTPUT section of the task file must contain both lines:
#OUTPUT
FILE horn;
TOPOLOGY;
FIELDS;
...
#END_OUTPUT
An example is samples/DEMO/PlanarRT_H/horn.tpl. Without them the Output topology and Output fields buttons are turned off
when the step is read (Section 4).
Field output greatly slows down the computation: the whole grid is written to disk at every time step. For series and large computations, remove
FIELDS;(andTOPOLOGY;if the topology is not needed).
Procedure.
- Open a task file with
TOPOLOGY;andFIELDS;in#OUTPUT. Make sure that the
Output topology and
Output fields buttons have green dots. - Turn on
Synchronization (a green
dot). The status bar shows: Output: Signal + Topology + Field + Sinchronization. - Press
View field and
topology. FieldView opens with the field file of the task; the dot on the button turns green. - In FieldView, turn on Follow Calculation (the first button of the Frames toolbar).
- In the kernel, press
Run (F5). - FieldView shows new frames as the computation proceeds. After the computation has finished, the time steps can be browsed with the slider and the animation can be saved (see FieldView).
What synchronization gives. With synchronization on, before writing the next frame the kernel waits until FieldView has read the previous one — not a single frame is lost, but the computation proceeds at FieldView's pace. If FieldView does not read the file for about 25 seconds (for example, it is closed), the kernel stops waiting and continues the computation; it starts waiting again when FieldView reads the file again. Without synchronization the kernel writes frames without waiting, and FieldView may not show all time steps. In batch mode (Section 10) synchronization has no effect. The synchronization state is remembered between program runs.
8. GPU computing
The main time-stepping computation can be performed on an NVIDIA or AMD video card. The result on the video card coincides with the computation on the processor bit for bit (checked on 44 task files). Only an ordinary video card driver is needed — CUDA and other toolkits are not needed. GPU computing is available only in the 64-bit version for Windows.
How to turn it on:
- Config → Compute (GPU)... (Section 6.7).
- Wait until the check is over: in the table the card has "Double precision — Yes", "Self-test — Passed".
- Select the Use the video card for calculations check box and click OK.
- The right part of the status bar shows
Compute: GPU — <card name>.
The kernel computes small task files on the processor even when the video card is allowed: for PlanarRT H the threshold is
150 000 grid nodes (fewer — processor). The kernel writes the reason in the left part of the status bar at
the start of the step and in the Compute line of the Calculation time report.
The command-line keys override the setting: /GPU — compute on the video card, /CPU — on the processor.
For details — GPU computing.
9. Multi-frequency computation
Usually each step of the task file gives one frequency point of the S-matrix, and the frequency response is obtained by
a sweep — several steps with different FREQ that write to the same .s file. In this
case the status bar shows Step k of n, and the progress bar shows the overall progress of the whole sweep. In
single-frequency mode the frequency of the SMATRIX line must equal the FREQ of the step, and the window Tmin; Tmax; is
mandatory (Task file .tpl, Section 7.4).
A multi-frequency computation gives the response in the whole band in a single pass:
- the incident wave is specified by a
.sigfile — the file name in square brackets is written in the amplitude parameter of the port, for exampleINPUT_X ; ylo; yhi; 0; 40; [wg_multi]; 0;; - in the signal file the
#FREQline lists the frequencies (tones) of the signal; FREQin#PARMis set to the centre of the band — the port is matched at it;- with a
SMATRIXline the kernel itself writes all frequencies of the band to the.s; theTmin…Tmaxwindow of the line is taken into account, and the entrySMATRIX name; F;without a window means the full window 0…Tmaxof the task (since 26.10.2026); - if the pulse response has not decayed by the end of the window or the window starts while the incident pulse is running, the kernel issues a warning (the S-matrix is written anyway);
- radiation patterns (with
FIELD_DISTRIBUTION_M) are built one per tone — the files<name>_<MHz>MHz.DAT.
The .s file is appended to, not overwritten: before computing again, delete the old .s.
For details — Multi-frequency computation; an example is the samples/MULTIFREQ folder.
10. Batch mode and the calculation-time report (the /Time key)
The kernel can be started so that it opens the task file by itself, computes all steps and closes:
"C:\Program Files\TMC Suite Qt\planarrt_h.exe" "C:\work\task.tpl" /Ar /Time
| Key | Action |
|---|---|
/Ar |
Autorun: open the task file and compute all steps; after a successful computation the program closes, after an error the window stays open. |
/Arb |
The same, but the program closes after any end of the computation (including an error). |
/Time |
At the end of the computation, write the report <task>.timing_H_win64.txt next to the task file — the same as in the Calculation time window. Without the key the file is not created. |
/GPU, /CPU |
Compute on the video card / on the processor regardless of the setting. |
The keys are written as separate words delimited by spaces; a hyphen can also be used (-Ar). With /Ar and /Arb
the program writes the computation progress to the console it was started from and returns a code:
0 — everything has been computed, 1 — an error in the task file, 2 — an error during the computation, 3 — the computation
was stopped.
Since 26.10.2026 an error at one sweep step does not abort the computation: zeros are written to the .s at the frequency of this step,
the other steps are computed, and at the end code 2 is returned with the list of steps with
errors (Headless mode, Sec. 1.4).
The
Batch mode button (the menu item
AutoRun) turns on the same autorun from the window: a task file opened after it has been turned on is computed
immediately, and after a successful computation the program closes. The mode is not remembered between program runs.
For details (several task files in a row, Linux) — Headless mode.
11. A new task file: TPL Designer
A .tpl task file can be written by hand (the language reference is Task file .tpl) or assembled
in the TPL Designer program without typing text.
- Press the first toolbar button
New task (TPL Designer), or File → New task (TPL Designer)..., or Ctrl+N. - The kernel looks for
TplDesigner.exe: in the saved path, next to itself, in theTplDesignerfolder, in the path written by the installer. If it is not found, the kernel asks once "Where is TPL Designer?" and remembers the answer. - While TPL Designer is open, the dot on the button is green.
- Create the task in TPL Designer and save it to a
.tplfile. - Open the saved file in the kernel (File → Open...) and start the computation.
For details — TPL Designer.
12. Input and output files
Input files.
| File | What it is |
|---|---|
.tpl |
The task file. The first line is #TMC_RT_H, the last is #EOF. The sections of each step: #PARM, #TOPOLOGY, #LINK_LIST, #OUTPUT. The full reference — Task file .tpl. |
.h and other included files |
Included in the task file with the #include command; they must be next to the task file. |
.eps |
The permittivity ε distribution written by the kernel earlier (FILE blocks). |
.sig |
The incident wave from a file (multi-frequency computation, Section 9). |
Output files are written to the folder of the task file. Their names are built from the name in the FILE <name>; line of the
#OUTPUT section (a name without a dot).
| File | When it is written | What it contains | Viewed with |
|---|---|---|---|
<name>.t |
always | The signals of the incident and scattered waves at the ports by time step | TMCROS |
.s |
the SMATRIX line |
The S-matrix (appended at each step; zeros at the frequency of a step with an error) | TMCGROUT |
<name>.tt |
TOPOLOGY; |
The device topology | FieldView |
<name>.ex |
FIELDS; |
The field of the current time step (the file is overwritten at every time step) | FieldView |
.AMP, .FAZ |
FIELD_DISTRIBUTION / _M |
The amplitude and phase of the field distribution at the frequency | FieldView |
.DAT |
FIELD_DISTRIBUTION / _M |
The radiation pattern | TMC_DN |
.eps |
blocks of the form RECT_STAT [name]expression |
The ε distribution | the kernel (input for FILE blocks) |
<task>.timing_H_win64.txt |
the /Time key or Export to TXT... |
The calculation-time report | any text editor |
The code also defines the names .ey, .hz, .em, .ef, .q, .ix, .iy, but the current version of the kernel does not write these
files.
13. Typical tasks step by step
13.1. The first computation and viewing the signal
- Start PlanarRT H.
- File → Open... →
samples/DEMO/PlanarRT_H/demo_h.tpl. - Check the status bar:
Step:1;Error:no. - Press
(Shift+F4): check the grid, the number of nodes and the memory estimate. Close the window with the Cancel button. - Press
(F5). Watch the progress bar. - When "Done" appears, press
(Alt+Shift+F4) — TMCROS opens with the signals at the port.
13.2. A frequency response (sweep) and the S-matrix
- The task file must contain several steps with different
FREQand aSMATRIXline with the same file name. The frequency in theSMATRIXof each step must coincide with theFREQof that step, and the windowTmin; Tmax;must be on the steady-state interval. - Delete the old
.sfile if it remains from a previous computation (the file is appended to). - Press Load first step (
Shift+F5), then Run (F5). The status bar showsStep k of n · Calculation …%. - If an error occurs at some step,
Error at step N (f): …appears in the status bar; the computation continues with the next step, and at the frequency of the step with the error the.swill contain zeros. - After "Done", press
(Ctrl+Shift+F4) — TMCGROUT opens.
13.3. Viewing the field during the computation
The procedure — Section 7.
13.4. Computing one selected step
- Select the step with the Skip step (
Ctrl+F6) and Back step (Alt+F6) buttons; its number is shown in the Statistics window and in the status bar (Step:N;…). - Press Run step (
F8).
13.5. Correcting the task file and recomputing
- Press
(Alt+F7) — the task file opens in the external editor. - Correct and save the file in the editor.
- In the kernel, press Load step (
Shift+F8) and check the status bar (Error:no). - Start the computation.
13.6. Finding out how long the computation took
- After the computation, open Statistics → Calc. time....
- Look at
TOTAL STEP TIMEfor the steps andTOTAL CALCULATION TIME. - Export to TXT... — save the report.
13.7. Turning on the end-of-computation sound signal
- Turn on
(a green dot). - If desired, set up the melodies: Config → Sound → Melody.
14. Frequently asked questions and errors
| Situation | Cause and what to do |
|---|---|
The status bar shows Step:1;<error text> |
An error in the task file. The error text is also shown in the Statistics window → Error message. Correct the task file, save it, press Load step (Shift+F8). The language rules — Task file .tpl. |
| The task file cannot be read, a preprocessor error | Check that all files from #include are next to the task file, that the first line is #TMC_RT_H and the last is #EOF. |
A step parsing error with a SMATRIX line |
In single-frequency mode the SMATRIX frequency must equal the FREQ of the step (the hint in the message: SMATRIX name; <FREQ>; Tmin; Tmax;), and the window Tmin; Tmax; is mandatory (Task file .tpl, Section 7.4). |
| The error "Unknow type block" | The task file contains a block that the H kernel does not have (for example, *_STAT_S, FILE_N, FILE_B, FILE_Y — X kernel blocks). Open the task file in PlanarRT X (PlanarRT X). |
A parsing error because of t or f in the 8th parameter of a port |
The variables t and f are not allowed in parameter 8 of a port (Eps) (Task file .tpl, Section 5.5). |
| The Run button is grey | A computation or reading of the task file is in progress. Wait until it ends or press Stop. |
| The View field and topology button is grey | Output topology and Output fields are not turned on. Add the TOPOLOGY; and FIELDS; lines to #OUTPUT. |
| The Synchronization button is grey | Output fields is off. |
| FieldView has opened, but the field does not appear | Turn on Follow Calculation in FieldView and start the computation in the kernel; check that #OUTPUT contains FIELDS;. |
| The computation takes very long | Most often field output (FIELDS;) and synchronization with FieldView are on. Remove FIELDS; for series computations; turn synchronization off. |
| The line says "Compute: GPU — …", but the task was computed on the processor | The grid is below the threshold (150 000 nodes) — this is intended. The reason is in the Compute line of the Calculation time report. |
| TMCGROUT shows extra points in the S-matrix | The .s file is appended to at every computation. Delete it before computing again. |
| TMCGROUT shows no curve, only one point | The task file has one step — one frequency. A curve requires a sweep (Section 13.2) or a multi-frequency computation. |
The .s contains zeros at one of the sweep frequencies |
There was an error at this step: the message Error at step N (f): … in the status bar and the console; the final code is 2. Fix the cause and recompute this step. |
| Editor opens the wrong editor | Select the editor: Config → Editor. |
| The program closed by itself after the computation | Batch mode (autorun) was on. Turn it off with the button (a red dot). |
| The error "Directional pattern window ends at … after the calculation time: DN files are not written", or there are no RP files, code 2 | The FIELD_DISTRIBUTION accumulation window ends at or after the end of the analysis time TIME. The window must end before TIME (Task file .tpl, Section 7.5). Make the window shorter or the analysis time longer. |
| The error "Frequency … is below cutoff of port" | The frequency is below the cutoff for the port: the port is too narrow for this frequency. Widen the port or raise the frequency. |
| The S-matrix changed after the amplitude or phase of the port was changed (in old versions) | Since 26.10.2026 the S-matrix is divided by the incident wave (S = Uo/Up), so the amplitude and phase of the port do not affect it (Task file .tpl, Section 5.5). |
15. Related documents
- PlanarRT X — the PlanarRT X kernel (X-mode, plasma).
- Task file .tpl — the
.tpltask language: the full reference. - TPL Designer — TPL Designer.
- TMCROS, TMCGROUT, TMC_DN, FieldView — viewers.
- GPU computing — GPU computing.
- Multi-frequency computation — multi-frequency computation.
- Headless mode — batch and console mode.
- Changelog — change history.















