Network Planning with API

Tianhang Yu_20657
Tianhang Yu_20657 Altair Community Member
edited July 2023 in Community Q&A

Hi, 

I have 100 odb files and intend to calculate the received power of these networks using Winprop API. I have perused the documentation and attempted to execute the C++ sample named 'outdoor_propagation'. However, the sample is using an opb file. How do I get an opb file?

Thank you,

Tianhang Yu

Best Answer

  • reinerh
    reinerh
    Altair Employee
    edited July 2023 Answer ✓

    Hi,

    instead of the preprocessed .opb file you can also use the raw .odb file in the API.

    You just need to adapt the GeneralParameters.BuildingsMode from BUILDINGSMODE_UDP to BUILDINGSMODE_BINARY. Please see the #defines in OutdoorPlugIn.h.

    Best regards

    Reiner

Answers

  • Zeina
    Zeina
    Altair Employee
    edited July 2023

    Hi Tianhang,

    An .opb is a preprocessed outdoor database for the UDP model prediction. You can preprocess your odb files and you'll get the corresponding .opb s

    BTW, you can either run UDP with a preprocessed database or not.

    Zeina

  • reinerh
    reinerh
    Altair Employee
    edited July 2023 Answer ✓

    Hi,

    instead of the preprocessed .opb file you can also use the raw .odb file in the API.

    You just need to adapt the GeneralParameters.BuildingsMode from BUILDINGSMODE_UDP to BUILDINGSMODE_BINARY. Please see the #defines in OutdoorPlugIn.h.

    Best regards

    Reiner