ames-market / psst

PSST - Power System Simulation Toolbox
Other
39 stars 27 forks source link

Error while importing Model #23

Open zsalimian1359 opened 1 year ago

zsalimian1359 commented 1 year ago

I read the installation file and installed python,java,and other required programs. Then I installed psst. Then I wanted to start building a model by the following syntaxes

import psst

from psst import GeneratorCompany from psst import LoadServingEntity from psst import DayAheadMarket from psst import TransmissionLine from psst import IndependentSystemOperator from psst import Model

but it says

C:\Users\asus\AppData\Local\Programs\Python\Python39\python.exe C:/Users/asus/AppData/Local/Programs/pythonProject/main.py Traceback (most recent call last): File "C:\Users\asus\AppData\Local\Programs\pythonProject\main.py", line 4, in from psst import Model ImportError: cannot import name 'Model' from 'psst' (unknown location)

What is the problem?