44 lines
1.1 KiB
Python
44 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
SYSLAB library
|
|
~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
SYSLAB is a Python 3 library for control and monitoring of units in SYSLAB. Usage of this library requires the running
|
|
computer to be located in the SYSLAB network, either physically or virtually, ie. using a VPN connection.
|
|
|
|
|
|
"""
|
|
|
|
__title__ = 'syslab'
|
|
__version__ = '0.3.0'
|
|
__author__ = 'Anders Thavlov, Daniel Esteban Morales Bondy, Tue Vissing Jensen'
|
|
|
|
__maintainer__ = 'Tue Vissing Jensen'
|
|
__license__ = ''
|
|
__copyright__ = 'DTU'
|
|
|
|
# Raise error if we are not on Python 3
|
|
import sys
|
|
if not (sys.version_info.major == 3 and sys.version_info.minor >= 5):
|
|
raise RuntimeError("Must be using at least Python 3.5")
|
|
|
|
# DataTypes
|
|
from .core.datatypes import CompositeMeasurement
|
|
from .core.datatypes import CompositeBoolean
|
|
|
|
# Physical units
|
|
from .physical import \
|
|
SwitchBoard, \
|
|
Dumpload, \
|
|
Photovoltaics, \
|
|
Battery, \
|
|
HeatSwitchBoard, \
|
|
WindTurbine, \
|
|
DieselGenerator, \
|
|
B2BConverter, \
|
|
MeteoMast, \
|
|
EVSE
|
|
|
|
# Logging utilities
|
|
#from .comm.LogUtils import e |