Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple models in same network #554

Open
maedoc opened this issue Apr 28, 2022 · 0 comments
Open

Support multiple models in same network #554

maedoc opened this issue Apr 28, 2022 · 0 comments

Comments

@maedoc
Copy link
Member

maedoc commented Apr 28, 2022

Describe the new feature or enhancement

A single network model should support multiple models on different nodes.

Describe your proposed implementation

class MultiModels:
    models = List(of=Model, required=True)
    partition = Array(of=int, required=True)
    @property
    def nvar(self):
        return max([model.nvar for model in self.models])
    ... 

Describe possible alternatives

Builtin support on the simulator itself.

Additional comments

This is a request that occurs frequently enough and currently isn't possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant