Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

Modeling an Autonomous Island Microgrid (Karpathos, Greece) - Problems

  • Nikolaos
  • Topic Author
More
05 Feb 2026 08:54 - 06 Feb 2026 11:04 #14478 by Nikolaos
Hello,

My name is Nikolaos Bampaliaris, writing on behalf of a senior class in the Department of Electrical & Computer Engineering at the Aristotle University of Thessaloniki, Greece. We are working on a project for our "Modern Power Systems and Smart Grids" course. Our goal is to design a fully autonomous/isolated microgrid for the island of Karpathos. We are using the following configuration:
  • Template: Hybrid (Custom Generation + PVWatts + Wind + Battery)
  • Financial Model: Distributed (Third Party - Host / Developer)
Data Inputs:
  • Load: 8760 hourly entries for the island.
  • Solar: SAM weather data.
  • Wind: We generated a .srw file by extrapolating 10m wind speed data using the Power Law: WSx​=WS10​*(x/10)^0.14.
  • Custom Generation: Used as a proxy for the existing Diesel generators, following the load profile with a specific multiplier (e.g., Load*0.3).
The problems we are facing:

1. Battery Dispatch Issues: Even when we have significant excess generation (Peak generation reaches ~9.6 MW for a ~6.5 MW peak load), the battery never charges. The "Battery State of Charge" results show NaN throughout the year. We have already checked "Allow charging from system" in the Dispatch tab. Does the "Third Party" financial model require specific "Grid Charging" or "PPA" logic to trigger battery activity?

2. Achieving True "Islanded" Operation: We want the Developer to sell energy only to the Karpathos load. We need to prevent the model from "selling" excess energy to an infinite grid.
  • We tried setting the Interconnection Limit to 0 kW in the Grid tab, but the model still reports zero "Energy loss from curtailment" even when generation exceeds load, and it doesn't force the energy into the battery.
  • Is there a way to strictly limit the system to the local load so we can accurately measure Unmet Load?
We truly appreciate the open-source nature of SAM, as it is a vital tool for our studies, given the current funding challenges in Greek higher education.

Thank you in advance for your time and help!

Best regards,
Nikolaos Bampaliaris Aristotle University of Thessaloniki
Last edit: 06 Feb 2026 11:04 by Nikolaos.

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
06 Feb 2026 10:56 #14485 by Paul Gilman
Hi Nikolaos,

When the battery charges and discharges depends on the options on the Battery Dispatch page, power available from the generating equipment in the system, and the electric load. For some of the dispatch options, the battery may not be required when there is sufficient power from the diesel generator, wind turbines, and solar array to meet the load. Please attach your .sam file if you would like help troubleshooting.

You should use the "eenergy loss from interconnection" variables in the results to see the effect of the interconnection limit. The "energy loss due to curtailment" variables are determined by the grid curtailment inputs on the Grid Limits page. Curtailment and interconnection limits are applied separately.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

  • Nikolaos
  • Topic Author
More
06 Feb 2026 11:07 #14487 by Nikolaos
I'm sorry, I made a mistake in the attachments while thinking that I had uploaded the .sam file. I just edited my original post, but I will upload the file in this answer as well.

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
06 Feb 2026 11:17 #14489 by Paul Gilman
Hi Nicolaos,

I think the problem is with the electric load scaling factor on the Electric Load page: The scaling factor is 1000 which makes the load much bigger than the system. I tried changing the scaling factor to 1, which results in an annual peak load of 10.3 MW, which seems more reasonable for the 15 MW hybrid system.

Changing the load scaling factor to 1 results in the battery charging and discharging daily.

Best regards,
Paul. 

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum