I have to express some ambivalence on this topic. Having reCently
published a paper expressing my views on the quick 'performance sketch'
approach to models, I confess to being a fan of small quick repetitive
analysis tasks using fully capable software. Rather than using behemoth
BIM models, lightweight models and sophisticated modelling software is
The way to mainstream simulation.
it is hard enough to focus students on this form of abstraction. If I was
also to ask them to work with a series of tools in an analysis toolbox
then the push back would be immense. My student engagement with the
results of analysis has improved out of sight as we have moved from a
command line or script interface towards a 3D model with associated
calculation capabilities. If I look at the OpenStudio approach, then I am
ecstatic that the people learning simulation now engage early with
modelling the influence of their design ideas on performance, and are no
longer struggling with text interfaces. They come back to those text
interfaces with a clear idea of what more they want to do. But then they
find the same problem that even experienced users of scripts / text
interfaces find - that there are so many scripts / tools that knowing
which one to use or finding whether is a mind boggling task. This applies
even when you know the script / capability exists in the toolbox. I and
some grad students face exactly this issue with OpenStudio - we know and
useEnergyPlus/GenOpt, we want to compare it to openStudio/Dakota as
weaving Radiance into the optimisation would be such an improvement. We
know and can see examples of Ruby scripts for Dakota. But getting it
running is something we do not have the time for..
Send Radiance-general mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."
Today's Topics:
1. Re: Leveraging the Python language in Building Performance
Simulation (Guglielmetti, Robert)
2. Persistent problems on dctimestep and Install
(Germ?n Molina Larrain)
3. Re: Persistent problems on dctimestep and Install (Greg Ward)
4. Re: Persistent problems on dctimestep and Install
(Germ?n Molina Larrain)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Dec 2012 19:44:39 -0700
From: "Guglielmetti, Robert" <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Leveraging the Python language in
Building Performance Simulation
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hey Thomas,
I totally agree, and that's why I have tried very hard to maintain such
an interface to the OpenStudio/Radiance stuff. While Application/GUI
integration is a priority, all of the Radiance stuff starts out as a
Ruby script prototype, and I build in command line switches to all of
the functionality. As someone who learned Radiance from the command
line, I totally respect the UNIX toolbox model, and feel like our tools
need to play nice in that arena. If anything, I've learned that most of
my stuff is to large and monolithic, and I'd like to break down or
refactor a lot of what I've written to be more modular like Radiance.
But as it is, everything we've implemented in Ruby has full command line
functionality (and help), and I expect we'll keep that interface an
option for the foreseeable future.
Rob Guglielmetti
National Renewable Energy Laboratory (NREL)
Commercial Buildings Research Group
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319
[email protected]
________________________________________
From: Thomas Bleicher [[email protected]]
Sent: Monday, December 03, 2012 7:04 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] Leveraging the Python language in
Building Performance Simulation
Hi Rob
Based on my experience with Radiance scripting in
Python>Ruby>Bash>Lua>whatever I'd say that it really doesn't matter much
which language you use as long as your application has a good command
line interface:
1) small single-purpose apps are better than one big app to rule them
all
2) process options should be exposed via command line arguments
3) good error reporting and some form of progress reporting for long
running processes
I think the scripting community would be better served if you implement
a good command line interface to your binaries and Ruby scripts than by
just another language wrapper.
My 2 CI cent,
Thomas
On Mon, Dec 3, 2012 at 11:32 AM, Guglielmetti, Robert >><[email protected]<mailto:[email protected]>> >>wrote:
Hi guys,
Not sure if you (Marcus and Alan) remember me, but I tagged along on a
lunch together when you visited NREL a while back. This sounds like a
great and ambitious project. Of course, it's tied to a specific
scripting language -- in this case, Python. I used to use Python a bit
for just this type of Radiance automation, myself. The SPOT program
(Radiance-based lighting photosensor placement and optimization tool) is
a mix of Python and VBA. OpenStudio is primarily C++, but we export all
of that C++ functionality to Ruby (and C#) in the form of SWIG
"bindings". Much of the Radiance functionality in OpenStudio is actually
a bunch of Ruby scripts. There are even elements of Radiance that are
written in Perl.
The point being that everyone has their favorite high level language.
Our hand was forced to Ruby, simply because the OpenStudio project
leverages SketchUp quite a bit, and the SketchUp API is in Ruby. It'd be
great if we could leverage your (and your contributors') work in
OpenStudio too, though. We should talk about how we might make that
happen. I know SWIG supports Python, but the maintenance headache of
supporting even just Ruby and C# is major; I doubt the team is
interested in supporting yet another scripting language. However I do
see an opportunity here, as we are rolling out the notion of "measures"
in OpenStudio, which are pre-packaged energy efficiency measures (e.g.
modify my model to have a WWR of .10 to .90 in .10 increments, simulate
and compile the results, while I go have lunch). We should work together
to see how we can best integrate your script library with OpenStudio and
other tools.
What do you think?
- Rob
Rob Guglielmetti
National Renewable Energy Laboratory (NREL)
Commercial Buildings Research Group
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319<tel:303.275.4319>
[email protected]<mailto:[email protected]>
________________________________________
From: info info
[[email protected]<mailto:[email protected]>]
Sent: Monday, December 03, 2012 4:57 AM
To:
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected].
;
[email protected]<mailto:[email protected]
ine.org>
Subject: [Radiance-general] Leveraging the Python language in Building
Performance Simulation
Dear simulation community,
The Python programming language is well known as a powerful tool in
automation, scripting, and high performance scientific computing. In our
experience, countless hours have been saved in automating building
simulation tasks, allowing us to focus more on creating quality building
models and accurate performance results.
We believe that Python is positioned to make a big difference in the
building simulation community. To get started, we have the following
offer: Send us your scripting problems, and we will solve them for you!
In this phase, we are interested most in small well defined tasks.
Example problems would be;
"In my research, I need to parametrize 100 EnergyPlus files with
different U-Values"
"We need to convert 1000 files from format *.yyy to format *.qqq"
"Our company produces a report for each project, we use Excel to
calculate the average Lux levels from radiance, it's easy but boring
after 100 projects"
Or anything else where you think - "I wish I had an intern do this for
me..." (Maybe you are this intern...)
Help us by defining your problem with steps taken and the desired
result. Send them to:
[email protected]<mailto:[email protected].
<mailto:[email protected]<mailto:[email protected]
redbuilding.com>>
For all problems received, we will recommend ideas, methods, and
modules. We will furthermore select 3 projects to solve and feature in
our Workshop during the Building Simulation 2013 conference in France
next August http://www.bs2013.fr/. We will also feature these problems
on our website; http://www.pythonpoweredbuilding.com.
Problems must therefore be free of any intellectual property and will
be open to all. For more information and more about us, please visit
http://www.pythonpoweredbuilding.com. If you are already a convert and
want to get involved, contact us at
[email protected]<mailto:[email protected]>.<ma
ilto:[email protected]<mailto:[email protected]
Please excuse cross posting, we will direct further updates primarily
to BLDG-SIM.
Happy simulating,
Marcus Jones, Clayton Miller, and Alan Jackson - Python evangelists
_______________________________________________
Radiance-general mailing list
[email protected]<mailto:[email protected]
ine.org>
http://www.radiance-online.org/mailman/listinfo/radiance-general
------------------------------
Message: 2
Date: Tue, 4 Dec 2012 00:10:55 -0300
From: Germ?n Molina Larrain <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: [Radiance-general] Persistent problems on dctimestep and
Install
Message-ID:
<[email protected]om>
Content-Type: text/plain; charset="iso-8859-1"
Hi everyone,
It's me again, with new troubles... sorry for that.
I have been trying to implement the Three Phase Method on two different
PCs
and two different OS, and not good news so far. Long story short, the
NREL
precompiled Radiance for Windows returned only zeroes when dctimestep
was
called (Andy McNeil helped me to discard syntax errors ... THANKS FOR
THAT); Ubuntu used to give me no answer, then it took turns between
"reinhart.cal not found" and some other similar things, and now it keep
throwing "segmentation fault" (my sky vector is not full of zeroes). I
already tried reinstalling my Linux distribution, compiling the Head
version (I think I did it ok), searching on the web, preinstalling x11
dev
library, and installing Learnix... but "segmentation fault" keeps
there, in
the two PCs.
anyway, until now, all my compilations "have had some errors" and
dctimestep has worked some times, but I haven't been able to understand
why
sometimes it works and sometimes it doesn't... I am pretty stucked
here. If
there is any trick for installing RADIANCE or getting the permissions to
avoid "segmentation fault", any advice would help a lot.
THANKS
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20
121204/e5169690/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 3 Dec 2012 21:29:09 -1000
From: Greg Ward <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Persistent problems on dctimestep and
Install
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1
Hi Gem?n,
You need to provide some information or no one can help you. What were
the exact commands you used when you got your errors?
Thanks,
-Greg
From: Germ?n Molina Larrain <[email protected]>
Date: December 3, 2012 5:10:55 PM HST
Hi everyone,
It's me again, with new troubles... sorry for that.
I have been trying to implement the Three Phase Method on two
different PCs and two different OS, and not good news so far. Long
story short, the NREL precompiled Radiance for Windows returned only
zeroes when dctimestep was called (Andy McNeil helped me to discard
syntax errors ... THANKS FOR THAT); Ubuntu used to give me no answer,
then it took turns between "reinhart.cal not found" and some other
similar things, and now it keep throwing "segmentation fault" (my sky
vector is not full of zeroes). I already tried reinstalling my Linux
distribution, compiling the Head version (I think I did it ok),
searching on the web, preinstalling x11 dev library, and installing
Learnix... but "segmentation fault" keeps there, in the two PCs.
anyway, until now, all my compilations "have had some errors" and
dctimestep has worked some times, but I haven't been able to understand
why sometimes it works and sometimes it doesn't... I am pretty stucked
here. If there is any trick for installing RADIANCE or getting the
permissions to avoid "segmentation fault", any advice would help a lot.
THANKS
------------------------------
Message: 4
Date: Tue, 4 Dec 2012 07:36:25 -0400
From: Germ?n Molina Larrain <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Persistent problems on dctimestep and
Install
Message-ID:
<[email protected]om>
Content-Type: text/plain; charset="iso-8859-1"
Hi Greg,
For installing I did "sudo ./makeall install" and "sudo ./makeall
library".
For the dctimestep use I did:
*dctimestep Matrices/V.vmx
Matrices/Tforward.xml Matrices/D.dmx Matrices/S.skv >
results/3phase.txt*
*
*
I, of course, had a directory called Matrices where all my files were
stored. The *Tforward.xml* was generating using genBSDF on a simple
clear
window, and the Daylight and View matrix were computed folowing the Andy
McNeil tutorial.
I tend to think it is a problem in the configuration of Ubuntu? I mean,
the
permissions or something. But I do not know how to fix it.
2012/12/4 Greg Ward <[email protected]>
Hi Gem?n,
You need to provide some information or no one can help you. What were
the exact commands you used when you got your errors?
Thanks,
-Greg
From: Germ?n Molina Larrain <[email protected]>
Date: December 3, 2012 5:10:55 PM HST
Hi everyone,
It's me again, with new troubles... sorry for that.
I have been trying to implement the Three Phase Method on two
different
PCs and two different OS, and not good news so far. Long story short,
the
NREL precompiled Radiance for Windows returned only zeroes when
dctimestep
was called (Andy McNeil helped me to discard syntax errors ... THANKS
FOR
THAT); Ubuntu used to give me no answer, then it took turns between
"reinhart.cal not found" and some other similar things, and now it keep
throwing "segmentation fault" (my sky vector is not full of zeroes). I
already tried reinstalling my Linux distribution, compiling the Head
version (I think I did it ok), searching on the web, preinstalling x11
dev
library, and installing Learnix... but "segmentation fault" keeps
there, in
the two PCs.
anyway, until now, all my compilations "have had some errors" and
dctimestep has worked some times, but I haven't been able to
understand why
sometimes it works and sometimes it doesn't... I am pretty stucked
here. If
there is any trick for installing RADIANCE or getting the permissions
to
avoid "segmentation fault", any advice would help a lot.
THANKS
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20
121204/544f10fe/attachment.html>
------------------------------
_______________________________________________
Radiance-general mailing list
Radia[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
End of Radiance-general Digest, Vol 106, Issue 5
************************************************