Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46278

Re: Python for IPSA (Power flow analysis)

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Marshall <spam@capuchin.co.uk>
Newsgroups comp.lang.python
Subject Re: Python for IPSA (Power flow analysis)
Date Tue, 28 May 2013 13:08:32 +0100
Organization The first against the wall
Lines 45
Message-ID <87zjvfnw73.fsf@capuchin.co.uk> (permalink)
References <6288a409-db46-4987-91a7-2f3dd65b42dc@googlegroups.com>
Reply-To robert@capuchin.co.uk
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net MuiLiwGSjiBv5yy7fsYRuQ4Ul2kqzQ3CqM8YQs35FCBeu6nrA=
X-Orig-Path faure.capuchin.co.uk!not-for-mail
Cancel-Lock sha1:T22mspD0q4RXrp7sR/+WJNy5TTc= sha1:P1WdyQ86Bdg7E7LjETupgWh7OJc=
X-Home-Page http://rmstar.blogspot.com/
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)
Xref csiph.com comp.lang.python:46278

Show key headers only | View raw


On Tue, May 28 2013, Debbie <dia.sussex@gmail.com> wrote:

> Hi there, I am new to Python, and wondering if you could help me with
> python based coding for the IPSA (Power system analysis software). I
> have a electrical distribution network with generators, buses and
> loads, on which I am performing the load flow analysis every 1 hour
> for a period of 1 year.
>
> The code to perform instantaneous load/power flow analysis is given
> below. I need to modify it such that I can perform this load flow
> analysis every 1 hour for a period of 1 year. Please help.
>
> from ipsa import *
>
> ipsasys = IscInterface()
> net = ipsasys.ReadFile("refinery.iif")
> bok = net.DoLoadFlow();
> if bok:
>     busbars = net.GetBusbars()
...
>     for bus in busbars.itervalues():
>         name = bus.GetName()
..
> else:
>     print "Load Flow failed!"
>

I think Dave's suggestions are useful, a few years ago I was one of the
developers for the IPSA python API, I'm not sure how things have moved
on since then but you need somewhere to incorporate some time modelling
- at the moment I'm not sure how and if that was done. In any case I
doubt if the simulation would give rigourous results over a simulation
period of that length

Is what you really have  a set of iif files with current voltages over a
set of periods within that year, if so you need to iterate though those,
loading each one and doing individual load flows.

IPSA has a linkedin discussion group and current IPSA developers will I
think respond to you there (if you have an account)

Robert
-- 
La grenouille songe..dans son château d'eau
Links and things http://rmstar.blogspot.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python for IPSA (Power flow analysis) Debbie <dia.sussex@gmail.com> - 2013-05-28 03:00 -0700
  Re: Python for IPSA (Power flow analysis) Dave Angel <davea@davea.name> - 2013-05-28 07:14 -0400
  Re: Python for IPSA (Power flow analysis) Robert Marshall <spam@capuchin.co.uk> - 2013-05-28 13:08 +0100
  Re: Python for IPSA (Power flow analysis) steve.ingram@tnei.co.uk - 2013-05-29 01:51 -0700

csiph-web