flexiblepower / powermatcher

PowerMatcher - The Java implementation of the PowerMatcher, including the API, the core, a couple of examples, a remote implementation using websockets and a visualisation of the configuration.
http://www.powermatcher.org
Apache License 2.0
43 stars 25 forks source link

Question:Setting up powermatcher on a raspberry pi #214

Open seanhutton opened 7 years ago

seanhutton commented 7 years ago

Can anyone give e a simple run down of how to get power matcher running on a raspberry pi?

wilcowijbrandi commented 7 years ago

What is it you want to achieve exactly? PowerMatcher is a smart grid coordination mechanism. It doesn't do anything on its own, needs to be connected to smart devices (or simulated devices).

If you just want to see it working, you can try the demo distribution based on EF-Pi, which also includes PowerMatcher. The zip archive contains a small manual. It can also run on a Raspberry Pi (with Java installed).

Let me know if you need more help!

seanhutton commented 7 years ago

Hi Wilco,

Thanks for your email. What I am ultimately hoping to do is build a virtual power plant! As you may or may not be aware the Australian energy market is undergoing a rapid transition to renewable distributed energy. It's estimated about 7000 batteries were installed last year and more than 20 percent of households have solar pv systems. Several energy retailers have virtual power plant system trials operating but none are as elegant as powermatcher. A business I have a share in, foxfirelouvers.com already has installed control systems in many large commercial buildings and multi-dwelling residential developments. We have already installed the hardware (essentially a ruggedized raspberry pi) and our software allows us to monitor and control devices via an api, all that is needed is a coordination mechanism and we will have either a virtual power plant or distributed energy market. There may be some potential for some collaboration here with your organisation if I can get a basic "proof of concept" demonstration going here in Australia (not sure what form that would take but am open to suggestions).

My thought was that all I would need to do is classify the devices already connected to our system into the various categories: time shifter, buffer, uncontrolled and unconstrained and write some code to connect powermatcher to our api. I installed eclipse on a raspberry pi and tried following the instructions but have been having some issues For example, I installed eclipse on the pi but wasn't able to get Felix installed last time I attempted it as the suggested. Do I really need the EF-Pi or can I just use Power-matcher? I am fairly busy this week but will have another try later in the week.

Would you mind if I sent you some questions if I get stuck? I don't want to take up much of you time but it would be helpful to have someone who understands the technical details to ask a few questions.

Thanks and

Best regards, Sean Hutton.

On Mar 14, 2017 3:57 AM, "Wilco Wijbrandi" notifications@github.com wrote:

What is it you want to achieve exactly? PowerMatcher is a smart grid coordination mechanism. It doesn't do anything on its own, needs to be connected to smart devices (or simulated devices).

If you just want to see it working, you can try the demo distribution https://github.com/flexiblepower/fpai-apps/releases/download/v15.05/fpai-apps-runtime-release-15-05.zip based on EF-Pi, which also includes PowerMatcher. The zip archive contains a small manual. It can also run on a Raspberry Pi (with Java installed).

Let me know if you need more help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flexiblepower/powermatcher/issues/214#issuecomment-286171326, or mute the thread https://github.com/notifications/unsubscribe-auth/AFb18wTSJ6UD9NgUvNR0pEwi7tkkkItXks5rlXWTgaJpZM4MaHbF .

wilcowijbrandi commented 7 years ago

Hi Sean,

Good to hear you are looking into PowerMatcher! Reading your story I would advice you to use EF-Pi. Unless you want to integrate PowerMatcher into an existing product, EF-Pi should make your live a lot easier. Especially when you want to make use of the four EFI categories (timeshifter, buffer, uncontrolled and unconstrained) and PowerMatcher, since the logic for that is implemented on top of EF-Pi. The best way to get started is to for the fpai-apps repository, this one contains the PowerMatcher logic for the four categories.

I would advice against doing the actual development on the Raspberry Pi itself, since Eclipse is quite resource intensive. If you want to run EF-Pi (with PowerMatcher) on a Raspberry Pi, you only need to install Java (sudo apt-get install openjdk-8-jdk-headless, assuming you are using Raspbian), unzip the archive and run the run script (./run.sh from within the EF-Pi directory). This should start a webserver on port 8080.

Let's have a separate conversation about possible collaborations. Could you contact me at wilco dot wijbrandi at tno dot nl?

Best regards, Wilco