Right now, we only allow opf_model(filename) but we want to allow opf_model(data), where data is the named tuple of bus, branch, etc., data. This allows the user to augment data e.g., adding custom information to data.storage, and use that information within custom-defined discharge function.
Right now, we only allow
opf_model(filename)but we want to allowopf_model(data), wheredatais the named tuple of bus, branch, etc., data. This allows the user to augment data e.g., adding custom information todata.storage, and use that information within custom-defined discharge function.