If you have created a dictionary
network_data that contains all the necessary data in the PowerModels format you don’t need to save it for PowerModels to read it, you can simply feed it directly. Take this example taken from the documentation
# network_data is your dictionary with bus, branch and gen data
pm = instantiate_model(network_data, ACPPowerModel, PowerModels.build_opf)
result = optimize_model!(pm, optimizer=with_optimizer(Ipopt.Optimizer))
If for some reason you would like to save the dictionary
network_data to work later on it, or send it to a colleague you could save it into a julia data file (*.jld). As for the instantiated model
pm I’m not sure how you could save it, but I think it should be possible.