🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to batch process: Generate a large amount of simulation data?

User: "3mz"
Altair Community Member
Updated by 3mz

I have a map file in ODB format, and I want to place several transmitters on this map, generate simulation results for receiving power at a certain height, and export it to ASCII format as shown below.

image

image

But I need a large amount of similar data, with varying transmitter positions, different power levels, and varying simulation heights.

May I ask if there are any recommended methods?

For instance, utilizing API methods or WinPropCLI methods?

Then by using loop statements, each time randomly generating the positions of transmitters within a certain area, and also randomly assigning power within a specified range, then generating simulation results and saving them.

Is this feasible?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Cagkan Yapar"
    Altair Community Member
    Accepted Answer
    Updated by Cagkan Yapar

    One solution is to use the WinPropCLI and loop using the terminal/cmd, for cmd (Windows) for example:

    for /l %x in (1, 1, 701) do WinPropCLI -F E:\folderName\sims%x.net -A

    runs from sims1.net  to sims701.net .

    CLI can be also used for preprocessing:

    for /l %x in (1, 1, 701) do WinPropCLI -I E:\foldernName\odbOib\sims%x.pre

     

    However, as far as I know (if not included in the latest version), it cannot be used for .oda to .odb conversion. If you need to loop this, API might help, or using an external macro to manipulate the GUI should work.

     

    You can prepare your simulation files (.net, .nup) externally, by putting placeholders for the parameters (Tx position, power, Rx height etc.) you want to modify, and replace them with the values you would like to use, by running an algorithm (can be in Python, Matlab, etc.) that returns the suitable values.