[esp-r] Re: Issue on creating new predefined entities in esp-r
Jon Hand
jon at esru.strath.ac.uk
Tue May 2 22:17:46 BST 2023
Interesting question. First - there only seem to be 4 verticies
in the description. Should there not be more points? And
the mass seems to be low.
Can you supply a sketch of what the predefined person
should look like?
What do you intend it to be used for? A visual study or
to represent the mass of a person (or both)?
If you created a thermal zone that only included the various entities
associate with the 'person' and sent it I could test creating a
predefined entity to see if there are errors.
Also if you attached the predefined database it would be
helpful for others to look at.
Regards, Jon Hand
________________________________
From: esp-r-bounces at lists.strath.ac.uk <esp-r-bounces at lists.strath.ac.uk> on behalf of Clodoaldo Carvalho Filho <clodoaldo at ufc.br>
Sent: 02 May 2023 17:25
To: esp-r at lists.strath.ac.uk <esp-r at lists.strath.ac.uk>
Subject: [esp-r] Issue on creating new predefined entities in esp-r
Dear all
I am trying to create a predefined entity "standing_man" and save it in predefined.db1 for later use.
So I inserted a new category named "people" after the existing category "lighting":
*Category,people,People (visual+mass)
and put the following code at the end of predefined.db1 just before "*End_category" line
*item,standing_man,standing man 720x160x1760mm (+y) # tag name menu entry
*incat,people
*includes,visual,mass
*sourced,Dimensions for a typical adult man.
*origin,0.0,0.0,0.0
*bounding_box,0.720,0.160,1.76
*Text
Adult standing man facing north (+y).
*End_text
#
*vertex,0.160,0.160,0.800 # 1
*vertex,0.160,0.160,1.560 # 2
*vertex,0.560,0.160,1.560 # 3
*vertex,0.560,0.160,0.800 # 4
#
*mass,seat,door,OPAQUE,4,1,2,3,4 # 1
*mass,seat_,door,OPAQUE,4,2,1,4,3 # 2
#
*vis,0.260,0.000,1.560,0.200,0.160,0.200,0.000,1.00,head,steel_pl_3mm # visual 1
*vis,0.160,0.000,0.800,0.400,0.160,0.760,0.000,1.00,trunk,steel_pl_3mm # visual 2
*vis,0.560,0.000,0.800,0.160,0.160,0.760,0.000,1.00,r_arm,steel_pl_3mm # visual 3
*vis,0.000,0.000,0.800,0.160,0.160,0.760,0.000,1.00,l_arm,steel_pl_3mm # visual 4
*vis,0.400,0.000,0.000,0.160,0.160,0.800,0.000,1.00,r_leg,door # visual 5
*vis,0.160,0.000,0.000,0.160,0.160,0.800,0.000,1.00,l_leg,door # visual 6
#
*end_item
Note that materials still have to be changed to match the real entity.
The problem I am facing is that ESP-r changes "a Office furniture (visual+mass)" in the "Predefined categories" menu to "a standing_manture (visual+mass)", looking as if it had merged the name of new item with the description of first category "Office furniture (visual+mass)". Furthermore, clicking in "a standing_manture (visual+mass)", ESP-r changes "a standard swivel office chair" in the "Available predefined object" menu to "a people vel office chair" (the blank spaces seem to be the complement of "people" to 12 char length string). By the way, the problem spreads to the subsequent categories and items as new items are created in the database.
What am I missing? Any help will be appreciated.
Best regards.
Clodoaldo.
Prof. Clodoaldo de O. Carvalho Filho, Dr.
Universidade Federal do Ceará
Depto. de Engenharia Mecânica
Lab. de Eficiência Energética no Conforto Ambiental - Coordenador
ASHRAE Fortaleza Student Branch - Advisor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20230502/585467ef/attachment.html
More information about the esp-r
mailing list