Optimizing Smart Solar Design and Microgrid Energy Management Systems (EMS) for Electrified Cocoa Fermentation and Drying Systems: A Case Study for the PNG Cocoa Board

Overview

To develop and optimize a smart solar-powered microgrid and intelligent Energy Management System (EMS) for electrically powered cocoa fermentation and drying applications suitable for PNG conditions.

The proposed electrical cocoa fermenter is an off-grid processing machine for rural PNG farmers. Beans are placed on a slowly moving wire conveyor (speed adjustable by a knob) between top and bottom heating elements. After each pass, a mechanical spade at the end of the conveyor guides the beans back onto the belt to repeat the heating/drying cycle. A moisture sensor continuously monitors bean moisture, automatically controlling the heaters until the beans reach export-quality dryness (typically around 7–8% moisture). Power is supplied by a hybrid microgrid: PV panels charge a Battery Energy Storage System (BESS) and a backup diesel generator.

Key Features

  • Sensors and Controls: A moisture sensor (e.g. capacitive moisture probe or hygroscopic sensor) mounted near the beans measures moisture content. A microcontroller (Arduino/Raspberry Pi) reads this sensor and regulates heater power: it will turn heaters on when moisture > target (e.g. >7–8%) and off when dry. The controller also reads the speed-knob input and drives the conveyor motor via PWM. For safety, include limit switches/emergency stops for the conveyor. Typical heater controllers (solid-state relays) and temperature cutoffs ensure beans don’t overheat beyond ~60 °C.

Getting Started

  1. Cocoa beans are traditionally fermented for 3–7 days in heaps or boxes【42†L408-L414】. During this time the beans “sweat” and acidity develops. After fermentation, beans are dried (usually in the sun or in controlled driers). Drying must be gradual: drying too fast causes incomplete fermentation and overly acidic beans, lowering quality【42†L420-L423】. Our design uses electric heaters to mimic the natural exothermic fermentation. In practice, bean temperatures often reach 40–60 °C during fermentation【86†L128-L131】, so top/bottom heaters should safely provide heat up to this range for speeding drying.

Model Specifications

Parameter Value
Product SPS Software
Simulation type Offline
Software version SPS Software 2.1.4
Application Testing Approaches
Model file Electrical_Cocoa_Fermenter_Simulator.zip
Recommended time step 1 hour
Known limitations Test Run First and see if can operate with generator and PV and BESS on Off grid mode

Downloads

WOW What a nice concept thanks you very much for the time you took to download this great model.