Skip to content

anderulf/PowerTrade

Repository files navigation

Author: Anders Ulfsnes, MSc student at Energy and Environmental Engineering, NTNU

For Department of Electric Power Engineering, NTNU

Kasper Emil Thorvaldsen made the original text based game in 2018. Anders Ulfsnes used the ideas from Kaspers game, and made a GUI-version (graphic user interface) using PyQt and Qt Designer. This was done during the summer of 2019, and continued in the summer of 2020.

Networking is implemented using Socket Since the network communication is socket based the players and host has to be connected to the same router

Do not make changes to (these files are input files (autogenerated) from Qt designer): Main_Window_Host.py Main_Window_Player.py dialog_setDemand.py dialog_newPlant.py dialog_expected_marginal_cost.py

Run the game: play.py

Host game session: host.py

Requirements:

  • Python
  • PyQt5 (may be available through Anaconda)
  • Sockets (Python standard package)
  • matplotlib
  • Pyomo (host only)
  • Gurobi (host only)
  • Pandas (host only)
  • xlrd (host only)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages