Energyplus node working in Houdini

9 views
Skip to first unread message

Zengyuan

unread,
Jun 4, 2011, 11:47:42 AM6/4/11
to dexen_users
Hi everyone,

When the model is imported using the Phenotype node, the model is
fine. However, once it was viewed on the energyplus_generate_model
node, the top most sunshade is missing. As I checked under primitive
tab under details view, the last two sunshade names are overlapped,
both having the same name "zone_1_7". I believe this causes the
missing sunshade as I switch on the primitive number and I saw two
numbers overlap.

Another problem ensued was the energyplus_link node not working as
well.

Images:
(1) model
https://docs.google.com/leaf?id=0By1XDKq6iNtcYjI2MmRhZDMtMjMwMC00MzI1LTgwNGUtNDk3NGQxZjViNmNj&hl=en_GB

(2)missing sunshade
https://docs.google.com/leaf?id=0By1XDKq6iNtcYTk1ODEzYTAtYmY0OS00NDFjLWFlYWEtNzgzMDVhYzcyYWQ5&hl=en_GB

(3)energyplus_link node not working
https://docs.google.com/leaf?id=0By1XDKq6iNtcZGQwYzhlMjctNmM4NS00MzFkLWFkMjUtMTRmNTFmMjExY2Zm&hl=en_GB

Hope to hear from you guys soon, thank you

Regards,
Zengyuan

Nittin Vignesh

unread,
Jun 4, 2011, 12:32:20 PM6/4/11
to dexen...@googlegroups.com
Hi chen,
        None of the links which u have posted are working!! I dont knw wether it is the problem with my laptop or a general link problem!

Regards,
nittin

Zengyuan

unread,
Jun 6, 2011, 3:57:55 AM6/6/11
to dexen_users
could be links problem, Im not too sure how to link images here. I
will email the images to u guys to see.

ckw

unread,
Jun 6, 2011, 4:01:26 AM6/6/11
to dexen_users
Wat link ? I din post any link

kianwee

On Jun 5, 12:32 am, Nittin Vignesh <nittinvign...@gmail.com> wrote:

Chen Zengyuan

unread,
Jun 6, 2011, 6:40:46 AM6/6/11
to dexen...@googlegroups.com

This is a repost of thread, gonna attach the images here: Energyplus node working in Houdini









When the model is imported using the Phenotype node, the model is

fine. However, once it was viewed on the energyplus_generate_model

node, the top most sunshade is missing. As I checked under primitive

tab under details view, the last two sunshade names are overlapped,

both having the same name "zone_1_7". I believe this causes the

missing sunshade as I switch on the primitive number and I saw two

numbers overlap.

Another problem ensued was the energyplus_link node not working as

well.


Images:

(1) model

(2)missing sunshade


(3)energyplus_link node not working


Regards,
Zengyuan


> Date: Mon, 6 Jun 2011 01:01:26 -0700
> Subject: [dexen] Re: Energyplus node working in Houdini
> From: chenk...@gmail.com
> To: dexen...@googlegroups.com

> --
> -----------------------------------------------------------------
> http://groups.google.com/group/dexen_users

Zengyuan

unread,
Jun 6, 2011, 7:06:04 AM6/6/11
to dexen_users
just in case the images cant be seen, I put them here:
https://www.yousendit.com/download/UnlCckhYQzNEbUpFQlE9PQ


On Jun 6, 6:40 pm, Chen Zengyuan <chenzy...@hotmail.com> wrote:
> This is a repost of thread, gonna attach the images here: Energyplus node working in Houdini
>
>   When the model is imported using the Phenotype node, the model is
>
>  fine. However, once it was viewed on the energyplus_generate_model
>
>  node, the top most sunshade is missing. As I checked under primitive
>
>  tab under details view, the last two sunshade names are overlapped,
>
>  both having the same name "zone_1_7". I believe this causes the
>
>  missing sunshade as I switch on the primitive number and I saw two
>
>  numbers overlap.
>
>  Another problem ensued was the energyplus_link node not working as
>
>  well.
>
> Images:
>
>  (1) model
>
> (2)missing sunshade
>
>  (3)energyplus_link node not working
>
> Regards,
> Zengyuan
>
>
>
>
>
>
>
> > Date: Mon, 6 Jun 2011 01:01:26 -0700
> > Subject: [dexen] Re: Energyplus node working in Houdini
> > From: chenkian...@gmail.com

ckw

unread,
Jun 6, 2011, 10:36:53 AM6/6/11
to dexen_users
Hi guys for the energyplus node, I have looked at it and it seems that
it got something to do with the python coding on how the schedule
heating and loading is written. For now in order to turn off the
heating if you are using a singapore file , you should set the heating
schedule to 0 to 24 and this will give you a 0 heating load.

kianwee

ckw

unread,
Jun 6, 2011, 11:07:26 AM6/6/11
to dexen_users
It seems like its mainly due to the shade issue you are having, the
slice and dice node not giving u good clean geometry probably thats
why energyplus node is failing, why dun u try to do the slicing and
dicing yourself ? If you need any help let me know.

kianwee

Zengyuan

unread,
Jun 7, 2011, 9:46:07 AM6/7/11
to dexen_users
Hi Kianwee,

I have changed the model parameters a bit. Im attaching my files here:
https://www.yousendit.com/download/UnlES3hRQ3RQb0pjR0E9PQ
Inside the foler, dev.hipnc is the model file while eval_energy.hipnc
is the evaluation file. There is still 1 missing sunshade and I
couldnt' figure out the slice and dice node and what the problem might
be.

Can help please help me with this probelm

Thank you!

Zengyuan

ckw

unread,
Jun 7, 2011, 12:37:21 PM6/7/11
to dexen_users
Hi zengyuan the problem is not cause by the slice and dice node but by
the energyplus parent attribs node. the bug occur at the
for_each_shade node inside the enerygplus parent attribs node. This is
a houdini bug that usually happens when a foreach is nested inside a
foreach ( that usually happens). The easiest way to get it working is
to untick and tick the Merge parameter on the for_each_shade and the
missing shade shld appear and everything will be good.

However this is not good for running dexen. Because you cant manually
tick and untick a node when u are using dexen. So I can help you setup
the network for setting the shade name and its parent, but that will
probably be just a one off network that can only work for this
specific file that you have send me. I have check your dev.hipnc and
and I realise your schema , the genes are only changing the scale ,
rotation and number of shades and the parent attrib of the shades
windows walls ceilings and floors are always constant. Remember the
network that I have setup will only work for this specific schema !!

I am still scratching my head to think of a work around to create a
generic node that will always work.

Zengyuan

unread,
Jun 8, 2011, 5:14:01 AM6/8/11
to dexen_users
Thank you Kianwee,

here is the link to download the new dev file for everyone to share:
https://www.yousendit.com/download/UnlDZEUycWZqV0JjR0E9PQ

Patrick Janssen

unread,
Jun 12, 2011, 3:49:48 AM6/12/11
to dexen...@googlegroups.com
Hi all,

I have managed to get back online yesterday and today, and I saw these issues. KianWee has tracked down the problem, (the double nested foreach), and I have changed fixed it. It now no longer uses a double nested foreach.

The new phtj_energyplus.otl node is attached. I have only tested it briefly, but it seems to be ok.

Patrick


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::




--
-----------------------------------------------------------------
http://groups.google.com/group/dexen_users

phtj_energyplus.otl

Tungsing9

unread,
Jun 13, 2011, 6:25:20 AM6/13/11
to dexen_users
Hi patrick, thanks for the double nested for each solution, it seems
to work.
However, i have another old problem that has remained partially
unsolved.

In my previous post, i have found out the the energyplus node did not
fetch accurate values especially in singapore,
where it gives heating loads, despite the optimum temperature range
being set to 20-24 degrees.
Singapore's temperature never fall below 20 degrees, therefore will
never require heating

Kianwee managed to find a solution, which is to turn off the heating,
by setting the schedule to 0-24.

However, when it is used in finland (helsinki) with the same settings,
it fetches cooling loads despite finland's temperature never above 20
degrees.
In addition, the results shows that energy loads in finland is also
lower then that of singapore, which should be the opposite in real
life, due to the temperature difference of finland
being 15degrees from the optimum range, where the average temperature
of singapore is 3 degrees away from optimum range

So somehow the solution is not a foolproof one that works in all
climates, with the energyplus node giving wrong absolute values.


Thank you and regards
Tungsing











On Jun 12, 3:49 pm, Patrick Janssen <patr...@janssen.name> wrote:
> Hi all,
>
> I have managed to get back online yesterday and today, and I saw these
> issues. KianWee has tracked down the problem, (the double nested foreach),
> and I have changed fixed it. It now no longer uses a double nested foreach.
>
> The new phtj_energyplus.otl node is attached. I have only tested it briefly,
> but it seems to be ok.
>
> Patrick
>
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
>  phtj_energyplus.otl
> 142KViewDownload

vignesh kaushik

unread,
Jun 14, 2011, 5:53:09 AM6/14/11
to dexen...@googlegroups.com
Hi Guys,

I have been trying to do some lighting analysis for my pixelated facade and I am afraid the radiance node is not giving out the right values. I tested the node with an empty building with no windows and still get LOT of light inside! (under singapore latitude n longitude @ 12 noon)

I am have tried it with almost all the materials in the list and even with materials like PLASTIC CEMENT_BRICK1, PLASTIC CEMENT BLOCK, LIGHT CONCRETE etc, I get a illuminance value of over 750 LUX whereas no light should have passed in the first place. 

I think its a python bug. Of course, one can still use relative lighting scores instead of absolute values and move on with the experiment. But then, ppl like me doing experiments with material aspects would find it difficult as opaque panels are not really opaque!!

So pls help me sort out this problem!

Cheers
Vignesh Kaushik


--
-----------------------------------------------------------------
http://groups.google.com/group/dexen_users

ckw

unread,
Jun 14, 2011, 5:59:20 AM6/14/11
to dexen_users
Please upload your file so that we can see what is wrong.

kianwee

vignesh kaushik

unread,
Jun 14, 2011, 6:18:14 AM6/14/11
to dexen...@googlegroups.com
Hi guys,

I think i solved the problem...The ground floor of the building was not of some solid material...now that i made it the same material as roof and walls, there is no light in the building...it works fine giving out the right values..Sorry for the trouble!!

cheers
Vignesh Kaushik

--
-----------------------------------------------------------------
http://groups.google.com/group/dexen_users

vignesh kaushik

unread,
Jun 16, 2011, 3:33:56 AM6/16/11
to dexen...@googlegroups.com
Hi guys,

i tried running the model (dev.hip) and evaluation files (lux.hip, cost.hip) in dexen and i get all failed tasks. I have attached the generated output file and  log file...can u guys help me find out wht the problem is and why is it failing, even though it works properly wen i test it separately. thanks

cheers
vignesh kaushik
of.txt
lf.csv

vignesh kaushik

unread,
Jun 18, 2011, 1:44:09 AM6/18/11
to dexen...@googlegroups.com
Hi guys,

Can anyone decipher wht the problem mite be in the error output file from dexen below...I can understand that there is some problem with the genotypes...but wht is the problem??
-----------------------------------------------------------------------------------------------------------------------------------------------
ActId: 19
Transact: SlaveRecvTransaction
TransactId: 9
Input Size: 10
Slave Name: SLAVE1
Task Name: slave_tasks.dev_task.DevTask
--------------Task Stdout---------------
--------------Task Stderr---------------
  File "E:\dexen-32-hou-0.3.3.7\dexen\system\node\slave\executor.py", line 48, in _execute
    inds = slave_task.__execute__(master_state, transact.get_inds())
  File "c:\users\divisi\appdata\local\temp\dexen\nodes\test1_qu2loa\slave_tasks\dev_task.py", line 44, in __execute__
    ind.phenotype = run_houdini_dev(ind, "dev.hipnc")
  File "c:\users\divisi\appdata\local\temp\dexen\nodes\test1_qu2loa\slave_tasks\dev_task.py", line 21, in run_houdini_dev
    genotype_node.setParms({"gene_"+str(i+1):ind.genotype[i].value})
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Let me know if you can understand whr the problem mite be.

Cheers
Vignesh Kaushik


2011/6/16 vignesh kaushik <vignesh...@gmail.com>

Patrick Janssen

unread,
Jun 19, 2011, 6:28:44 AM6/19/11
to dexen...@googlegroups.com
It looks like there is a gene missing in the dev.hipnc file. The error
is in the line that is trying to set the gene.
It is looking for a parameter called "gene_x" where x is the gene
number. Make sure you have created all you genes and named them
correctly (lowercase).

Also, please do not keep extending this thread with unrelated
questions. This thread is about the energyplus node.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

> --
> -----------------------------------------------------------------
> http://groups.google.com/group/dexen_users
>

Reply all
Reply to author
Forward
0 new messages