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

Convert Momani .zip export into DataPackage #32

Open
willu47 opened this issue Jan 17, 2020 · 0 comments
Open

Convert Momani .zip export into DataPackage #32

willu47 opened this issue Jan 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@willu47
Copy link
Member

willu47 commented Jan 17, 2020

The Momani database is exported into a zip file which contains the following components. It implements a nice data structure which could be converted into a data package for better portability.

Suggest another convert function is added to otoole to enable this.

Composed model

_id
name
description
sets
parameters
variables
objectiveFunction
constraints
lastRevision

Constraint

ConstraintGroup

DbVersion

ObjectiveFunction

ParameterData

ParameterDataItemBundle

Parameters

Scenario

_id
UUID of scenario
parentScenarioId (optional)
UUID of parent scenario
modelId
UUID of model
name
description
revision

Sets

_id : UUID
name
abbreviation
description
numeric : bool

SetData

Technology set items are grouped.

A dictionary containing the keys::

_id
setId
modelId
items
groups

Items contains a list of dicts with keys::

value
name
color
groupId (optional)

VariableResult

VariableResultItemBundle

Variables

@willu47 willu47 added the enhancement New feature or request label Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant