Research Article
An Ising Spin-Based Model to Explore Efficient Flexibility in Distributed Power Systems
Algorithm 1
Constrained Metropolis-Hastings (CMH).
| INPUT: , , , , | | OUTPUT: | | | while do | | pick a random spin from | | change if spin | | ann’s probability for | | configuration if spin | | magnetization in new | | if then | | random number from uniform distribution | | if ( or ) then | | | | end if | | end if | | | | end while |
|