How to create and configure hundreds of Smart Objects

How to create and configure hundreds of Smart Objects

Hi all,
I am working on an energy project that have 8 blocks, each block has 32 to 48 inverters (totally about 300 inverters). Each inverter model has variables, screens, logic functions.

For efficient update of model in future, my idea is creating smart objects for inverters or blocks. However, I know only one way that click by click to create then add mapping rules and changing the released parameters, one by one for 300 inverters.

Do you have any idea to create a large number of smart objects, as like export / import or somethings like this?

Btw, the variable of inverter is in Modbus RTU driver and behind a Modbus gateway. 8 block = 8 Modbus gateway. Therefore, create variable directly with 1 Modbus driver in Smart Object Template is not practical because of > 255 devices.
I also want to use Grouped TCP connection to Modbus gateway, so don't want to create many Modbus driver in Smart Object Template.
Therefore, my idea is creating thousands of variables in csv, then import, then mapping to Smart Object