diff --git a/dpsim-models/include/dpsim-models/DP/DP_Ph1_ProfileVoltageSource.h b/dpsim-models/include/dpsim-models/DP/DP_Ph1_ProfileVoltageSource.h index 25227d37ff..a058929fa3 100644 --- a/dpsim-models/include/dpsim-models/DP/DP_Ph1_ProfileVoltageSource.h +++ b/dpsim-models/include/dpsim-models/DP/DP_Ph1_ProfileVoltageSource.h @@ -16,7 +16,6 @@ #include #include #include -#include #include namespace CPS { diff --git a/dpsim-models/src/CMakeLists.txt b/dpsim-models/src/CMakeLists.txt index c6e407739d..db75f5a5ae 100644 --- a/dpsim-models/src/CMakeLists.txt +++ b/dpsim-models/src/CMakeLists.txt @@ -30,7 +30,6 @@ list(APPEND MODELS_SOURCES DP/DP_Ph1_Resistor.cpp DP/DP_Ph1_Transformer.cpp DP/DP_Ph1_VoltageSource.cpp - DP/DP_Ph1_ProfileVoltageSource.cpp DP/DP_Ph1_VoltageSourceRamp.cpp DP/DP_Ph1_VoltageSourceNorton.cpp DP/DP_Ph1_Switch.cpp @@ -177,6 +176,10 @@ if(WITH_GSL) list(APPEND MODELS_LIBRARIES ${GSL_LIBRARIES}) endif() +if(WITH_VILLAS) + list(APPEND MODELS_SOURCES DP/DP_Ph1_ProfileVoltageSource.cpp) +endif() + target_link_libraries(dpsim-models PUBLIC ${MODELS_LIBRARIES}) target_include_directories(dpsim-models PUBLIC ${MODELS_INCLUDE_DIRS}) target_sources(dpsim-models PRIVATE ${MODELS_SOURCES}) diff --git a/dpsim-models/src/DP/DP_Ph1_ProfileVoltageSource.cpp b/dpsim-models/src/DP/DP_Ph1_ProfileVoltageSource.cpp index 80fa89319d..458105656c 100644 --- a/dpsim-models/src/DP/DP_Ph1_ProfileVoltageSource.cpp +++ b/dpsim-models/src/DP/DP_Ph1_ProfileVoltageSource.cpp @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include diff --git a/packaging/Docker/Dockerfile.dev b/packaging/Docker/Dockerfile.dev index f52fb3e436..639e662504 100644 --- a/packaging/Docker/Dockerfile.dev +++ b/packaging/Docker/Dockerfile.dev @@ -1,7 +1,7 @@ FROM fedora:36 AS base ARG CIM_VERSION=CGMES_2.4.15_16FEB2016 -ARG VILLAS_VERSION=411b0ad49e2629ad41c6918d2a6c51e9a72220b4 +ARG VILLAS_VERSION=18cdd2a6364d05fbf413ca699616cd324abfcb54 ARG CMAKE_OPTS ARG MAKE_OPTS=-j4 @@ -65,7 +65,9 @@ RUN dnf -y install \ RUN dnf -y install \ mosquitto-devel \ libconfig-devel \ - libnl3-devel + libnl3-devel \ + protobuf-devel \ + protobuf-c-devel # Python dependencies ADD requirements.txt . diff --git a/packaging/Docker/Dockerfile.dev-debian b/packaging/Docker/Dockerfile.dev-debian index 800dbef43a..e661f8bdc9 100644 --- a/packaging/Docker/Dockerfile.dev-debian +++ b/packaging/Docker/Dockerfile.dev-debian @@ -1,7 +1,7 @@ FROM debian:11 ARG CIM_VERSION=CGMES_2.4.15_16FEB2016 -ARG VILLAS_VERSION=411b0ad49e2629ad41c6918d2a6c51e9a72220b4 +ARG VILLAS_VERSION=18cdd2a6364d05fbf413ca699616cd324abfcb54 ARG CMAKE_OPTS ARG MAKE_OPTS=-j4 @@ -59,7 +59,9 @@ RUN apt-get -y install \ RUN apt-get -y install \ libmosquitto-dev \ libconfig-dev \ - libnl-3-dev + libnl-3-dev \ + protobuf-dev \ + libprotobuf-c-dev ## Install libiec61850 from source RUN cd /tmp && \ diff --git a/packaging/Docker/Dockerfile.dev-rocky b/packaging/Docker/Dockerfile.dev-rocky index 335c7acd26..941625ce98 100644 --- a/packaging/Docker/Dockerfile.dev-rocky +++ b/packaging/Docker/Dockerfile.dev-rocky @@ -116,15 +116,15 @@ RUN cd /tmp && \ # CIMpp and VILLASnode are installed here ENV LD_LIBRARY_PATH="/usr/local/lib64:${LD_LIBRARY_PATH}" -# Python dependencies -ADD requirements.txt . -RUN pip3 install -U setuptools -RUN pip3 install -U wheel -RUN pip3 install -r requirements.txt - -# Remove this part in the future and use dedicated Jupyter Dockerfile -# Activate Jupyter extensions -RUN dnf -y --refresh install npm -RUN pip3 install jupyter jupyter_contrib_nbextensions nbconvert nbformat +# # Python dependencies +# ADD requirements.txt . +# RUN pip3 install -U setuptools +# RUN pip3 install -U wheel +# RUN pip3 install -r requirements.txt + +# # Remove this part in the future and use dedicated Jupyter Dockerfile +# # Activate Jupyter extensions +# RUN dnf -y --refresh install npm +# RUN pip3 install jupyter jupyter_contrib_nbextensions nbconvert nbformat EXPOSE 8888 diff --git a/packaging/Docker/Dockerfile.manylinux b/packaging/Docker/Dockerfile.manylinux index 5f425c31c0..9f5b3e541b 100644 --- a/packaging/Docker/Dockerfile.manylinux +++ b/packaging/Docker/Dockerfile.manylinux @@ -6,7 +6,7 @@ FROM quay.io/pypa/manylinux_2_28_x86_64 ARG CIM_VERSION=CGMES_2.4.15_16FEB2016 -ARG VILLAS_VERSION=411b0ad49e2629ad41c6918d2a6c51e9a72220b4 +ARG VILLAS_VERSION=18cdd2a6364d05fbf413ca699616cd324abfcb54 ARG CMAKE_OPTS ARG MAKE_OPTS=-j4 @@ -87,7 +87,9 @@ RUN yum install -y \ libwebsockets-devel \ mosquitto-devel \ libconfig-devel \ - libnl3-devel + libnl3-devel \ + protobuf-devel \ + protobuf-c-devel # Install spdlog from source RUN cd /tmp && \