radmap (on windows)

Hi,

I've just started to look at using radmap, but am having some teething
problems. It seems to generate a load of sky images but fails at the
next stage, creating cumulative sky files of zero size.

I've attached the (shortened) command output below. Any ideas what I'm
doing wrong? (I'm using the latest Windows binaries and am pretty sure
environment variables are set correctly and I can render the scene file
normally) I will try running on Linux this afternoon, but it would be
more convenient to be able to use it in Windows.

Thanks for your help,

Nick

D:\Radiance\test_radmap>radmap -s 8 -a 37.48 -o 126.55 -m 135 -n 1 -w
KOR_Incho
n_IWEC.epw --no-albedo --viewfile test.vf --radfile test.rad -x 512 -y
512 --sk
y-resolution 256 --max-kWh 500 --max-MJ 150 --cumulative-sky
[('-s', '8'), ('-a', '37.48'), ('-o', '126.55'), ('-m', '135'), ('-n',
'1'), ('-
w', 'KOR_Inchon_IWEC.epw'), ('--no-albedo', ''), ('--viewfile',
'test.vf'), ('--
radfile', 'test.rad'), ('-x', '512'), ('-y', '512'),
('--sky-resolution', '256')
, ('--max-kWh', '500'), ('--max-MJ', '150'), ('--cumulative-sky', '')]
[]

[radmap] v. 0.3 / 2007-02-25

···

---------------------------------------------
Radiance based irradiation map production
---------------------------------------------
by Francesco Anselmo <[email protected]>
D.R.E.Am.
Dipartimento di Ricerche
Energetiche ed Ambientali - Palermo - Italy

This work has been initially financially
supported by the European Social Fund
ITALIAN NATIONAL OPERATIVE PROGRAM 2000/2006
Ricerca Scientifica, Sviluppo Tecnologico,
Alta Formazione
Misura III.4.
Formazione Superiore e Universitaria

[('-s', '8'), ('-a', '37.48'), ('-o', '126.55'), ('-m', '135'), ('-n',
'1'), ('-
w', 'KOR_Inchon_IWEC.epw'), ('--no-albedo', ''), ('--viewfile',
'test.vf'), ('--
radfile', 'test.rad'), ('-x', '512'), ('-y', '512'),
('--sky-resolution', '256')
, ('--max-kWh', '500'), ('--max-MJ', '150'), ('--cumulative-sky', '')]
Location latitude: 37.48
Location longitude: 126.55
Location meridian 135.0
Number of samples per hour: 1
No albedo component will be taken into account
View file to be used: test.vf
.rad file to be used: test.rad
Output image x resolution: 512
Output image y resolution: 512
Sky image resolution: 256
max in kWh scale: 500
max in MJ scale: 150
Algorithm: cumulative sky
Loading EPW weather data from file KOR_Inchon_IWEC.epw
Using EPW weather data ...
1996/1/1 .......cCCCCCCCCI.......
(snip)
1994/12/31 .......cCCCCCCCCC.......

Total number of daylight weather samples :: 4397
Composing the cumulative sky picture ...
Combining skies from 7 to 80 :: 0
(snip)
Combining skies from 8726 to 8760 :: 137
group n. 0
test_32_0000000000_u.pic: bad picture size
group n. 1
tmp_irrmap_u.pic: bad picture size
Traceback (most recent call last):
  File "radmap.py", line 2439, in ?
  File "radmap.py", line 2386, in main
  File "radmap.py", line 616, in composeSkies
OSError: [Errno 17] File exists

I just gave up trying to get it to run on Windows, even running without
any temporary files left hanging around it still generated a bunch of
zero length composite sky files and failed.

I had more luck running under Linux, and it seemed to do its thing much
faster. However, I'm not sure how to interpret the results! To test I
created a flat ground plane and looked at the cumulative map - the
results were about 822kWh/m2.yr when I traced points on the original kWh
image and approximately the same in the false coloured kWh image. If I
looked at the source EPW data I found a cumulative global horizontal
radiation to be more like in the region of 1200kWh/m2.yr. Shouldn't
they be the same (assuming I set lat/lon/mer correctly)?

The MJ scaled image didn't make much sense - I thought that 1kWh is
3.6MJ, but I get a much lower result when I look at MJ than kWh.

Are there any papers describing the program in more detail (I've looked
only briefly at the man page and a .pdf presentation so I'm probably
missing something)?

Thanks,

Nick

···

On Thu, 18 Sep 2008 15:02:13 +0200, "Jelle Feringa" <[email protected]> said:

Nick,

Looks like radmap is seeing that you already ran a simulation, and is
not willing to overwrite the generated file ( even though perhaps your
run was unsuccesful )

-jelle