SlideShare une entreprise Scribd logo
1  sur  11
Колко програмисти са нужни за
завиването на една крушка?
… или колко време може да се забави избора
и монтажа на няколко лампи.
Радослав Колев <radoslav@kolev.info>
LUG-BG среща 2017, Пловдив
Сила на светлината и осветеност
1cd = 1/683 watts/steradian monochromatic light at 555nm
total radiant flux would be about 18.40 mW
Нива на осветеност
Condition Illumination (lux)
Sunlight 107527
Full Daylight 10752
Overcast Day 1075
Very Dark Day 107
Twilight 10.8
Deep Twilight 1.08
Full Moon 0.108
Quarter Moon 0.0108
Starlight 0.0011
Overcast Night 0.0001
Величини и мерни единици
Радиометрични Фотометрични
Radiant flux
(енергетичен поток)
[watt] Luminous flux (светлинен
поток)
[lum]
Radiant energy
(лъчиста енергия)
[joules] Luminous energy (светлинна
енергия)
[lum*sec]
Irradiance
(облъченост)
[watt/m2] Illuminance (осветеност) [lux, lum/m2]
Radiant emmitance
(енергетична
светимост)
[watt/m2] Luminous emitance
(светимост)
[lm/m2]
Radiant intensity
(енергетичен
интензитет)
[watt/steradian] Luminous intensity (светлинен
интензитет / сила на
светлината)
[candela,
lum/steradian]
Radiance
(енергетична
яркост/лъчистост)
[watt/sr*m2] Luminance (яркост) [cd/m2], nits
Препоръчани нива на осветеност
Activity2 Illumination
(lux, lumen/m2)
Public areas with dark surroundings 20 - 50
Simple orientation for short visits 50 - 100
Working areas where visual tasks are only
occasionally performed
100 - 150
Warehouses, Homes, Theaters, Archives 150
Easy Office Work, Classes 250
Normal Office Work, PC Work, Library, Show
Rooms, Laboratories
500
Supermarkets, Mechanical Workshops, Office
Landscapes
750
Normal Drawing Work, Detailed Mechanical
Workshops, Operation Theaters
1000
Detailed Drawing Work, Very Detailed
Mechanical Works
1500 - 2000
Параметри
● Лампи
– Мощност (W)
– Ефективност (lum/W)
– Индекс на цветопредаване CRI (0-100)
– Цветна температура (K)
● Осветително тяло (luminaire)
– максимална мощност, влагозащитеност, тип лампа ...
– Разпределение на светлината в пространството и
ефективност – файлови формати EULUMDAT и IES
Made in Plovdiv
Визуализация на осветеност
● EULUMDAT → QlumEdit → awk → GNUPlot
● from matrix to x,y,z format for gnuplot:
awk '{if (NR==1) {patsplit($0,a);} else for (i=2; i<=NF; i++) print $1 " "
a[i-1] " " $i}' matrix.dat > plot.dat
● GNUPlot:
getx(r,theta, phi)=(x=(r/cos(theta))*sin(theta)*cos(phi), x <=4 && x>=-
4 ? x : NaN)
gety(r,theta, phi)=(y=(r/cos(theta)*sin(theta)*sin(phi)), y <=2 && y>=-
2 ? y : NaN)
set angle deg
set pm3d at b
splot for[q in "-2 -1 1 2" ] "no-95-deg.dat" using ((abs(q)>=2? -1 :
1)*getx(r,$2,$1)):((q<0? -1 : 1)*gety(r,$2,$1)):($3*3.6):($3*3.6/(r*r))
every ::::30 with line
Благодаря!
Въпроси?!

Contenu connexe

En vedette

Computer vision for your projects
Computer vision for your projectsComputer vision for your projects
Computer vision for your projectsMarian Marinov
 
Make your internship "worth it"
Make your internship "worth it"Make your internship "worth it"
Make your internship "worth it"Marian Marinov
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonMarian Marinov
 
Practical my sql performance optimization
Practical my sql performance optimizationPractical my sql performance optimization
Practical my sql performance optimizationMarian Marinov
 
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFS
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFSLUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFS
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFSMarian Marinov
 
Moving your router inside container
Moving your router inside container Moving your router inside container
Moving your router inside container Marian Marinov
 
Why we are migrating to Slackware
Why we are migrating to SlackwareWhy we are migrating to Slackware
Why we are migrating to SlackwareMarian Marinov
 
Protecting your data when entering the US
Protecting your data when entering the USProtecting your data when entering the US
Protecting your data when entering the USMarian Marinov
 
How to setup your linux server
How to setup your linux serverHow to setup your linux server
How to setup your linux serverMarian Marinov
 
How penetration testing techniques can help you improve your qa skills
How penetration testing techniques can help you improve your qa skillsHow penetration testing techniques can help you improve your qa skills
How penetration testing techniques can help you improve your qa skillsMarian Marinov
 
LUG-BG - Kostadin Slavkov - PostgreSQL 10
LUG-BG - Kostadin Slavkov - PostgreSQL 10LUG-BG - Kostadin Slavkov - PostgreSQL 10
LUG-BG - Kostadin Slavkov - PostgreSQL 10Marian Marinov
 
Performance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksPerformance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksMarian Marinov
 
nftables - the evolution of Linux Firewall
nftables - the evolution of Linux Firewallnftables - the evolution of Linux Firewall
nftables - the evolution of Linux FirewallMarian Marinov
 

En vedette (13)

Computer vision for your projects
Computer vision for your projectsComputer vision for your projects
Computer vision for your projects
 
Make your internship "worth it"
Make your internship "worth it"Make your internship "worth it"
Make your internship "worth it"
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Practical my sql performance optimization
Practical my sql performance optimizationPractical my sql performance optimization
Practical my sql performance optimization
 
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFS
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFSLUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFS
LUG-BG 2017 - Rangel Ivanov - Spread some butter - BTRFS
 
Moving your router inside container
Moving your router inside container Moving your router inside container
Moving your router inside container
 
Why we are migrating to Slackware
Why we are migrating to SlackwareWhy we are migrating to Slackware
Why we are migrating to Slackware
 
Protecting your data when entering the US
Protecting your data when entering the USProtecting your data when entering the US
Protecting your data when entering the US
 
How to setup your linux server
How to setup your linux serverHow to setup your linux server
How to setup your linux server
 
How penetration testing techniques can help you improve your qa skills
How penetration testing techniques can help you improve your qa skillsHow penetration testing techniques can help you improve your qa skills
How penetration testing techniques can help you improve your qa skills
 
LUG-BG - Kostadin Slavkov - PostgreSQL 10
LUG-BG - Kostadin Slavkov - PostgreSQL 10LUG-BG - Kostadin Slavkov - PostgreSQL 10
LUG-BG - Kostadin Slavkov - PostgreSQL 10
 
Performance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksPerformance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networks
 
nftables - the evolution of Linux Firewall
nftables - the evolution of Linux Firewallnftables - the evolution of Linux Firewall
nftables - the evolution of Linux Firewall
 

Plus de Marian Marinov

Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingMarian Marinov
 
Basic presentation of cryptography mechanisms
Basic presentation of cryptography mechanismsBasic presentation of cryptography mechanisms
Basic presentation of cryptography mechanismsMarian Marinov
 
Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?Marian Marinov
 
Introduction and replication to DragonflyDB
Introduction and replication to DragonflyDBIntroduction and replication to DragonflyDB
Introduction and replication to DragonflyDBMarian Marinov
 
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQMessage Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQMarian Marinov
 
How to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdfHow to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdfMarian Marinov
 
How to survive in the work from home era
How to survive in the work from home eraHow to survive in the work from home era
How to survive in the work from home eraMarian Marinov
 
Improve your storage with bcachefs
Improve your storage with bcachefsImprove your storage with bcachefs
Improve your storage with bcachefsMarian Marinov
 
Control your service resources with systemd
 Control your service resources with systemd  Control your service resources with systemd
Control your service resources with systemd Marian Marinov
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storageMarian Marinov
 
Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?Marian Marinov
 
Securing your MySQL server
Securing your MySQL serverSecuring your MySQL server
Securing your MySQL serverMarian Marinov
 
DoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDKDoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDKMarian Marinov
 
Challenges with high density networks
Challenges with high density networksChallenges with high density networks
Challenges with high density networksMarian Marinov
 
SiteGround building automation
SiteGround building automationSiteGround building automation
SiteGround building automationMarian Marinov
 
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel trackingPreventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel trackingMarian Marinov
 
Managing a lot of servers
Managing a lot of serversManaging a lot of servers
Managing a lot of serversMarian Marinov
 
Let's Encrypt failures
Let's Encrypt failuresLet's Encrypt failures
Let's Encrypt failuresMarian Marinov
 

Plus de Marian Marinov (20)

Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & Logging
 
Basic presentation of cryptography mechanisms
Basic presentation of cryptography mechanismsBasic presentation of cryptography mechanisms
Basic presentation of cryptography mechanisms
 
Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?
 
Introduction and replication to DragonflyDB
Introduction and replication to DragonflyDBIntroduction and replication to DragonflyDB
Introduction and replication to DragonflyDB
 
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQMessage Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
 
How to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdfHow to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdf
 
How to survive in the work from home era
How to survive in the work from home eraHow to survive in the work from home era
How to survive in the work from home era
 
Managing sysadmins
Managing sysadminsManaging sysadmins
Managing sysadmins
 
Improve your storage with bcachefs
Improve your storage with bcachefsImprove your storage with bcachefs
Improve your storage with bcachefs
 
Control your service resources with systemd
 Control your service resources with systemd  Control your service resources with systemd
Control your service resources with systemd
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
 
Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?
 
Securing your MySQL server
Securing your MySQL serverSecuring your MySQL server
Securing your MySQL server
 
Sysadmin vs. dev ops
Sysadmin vs. dev opsSysadmin vs. dev ops
Sysadmin vs. dev ops
 
DoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDKDoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDK
 
Challenges with high density networks
Challenges with high density networksChallenges with high density networks
Challenges with high density networks
 
SiteGround building automation
SiteGround building automationSiteGround building automation
SiteGround building automation
 
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel trackingPreventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel tracking
 
Managing a lot of servers
Managing a lot of serversManaging a lot of servers
Managing a lot of servers
 
Let's Encrypt failures
Let's Encrypt failuresLet's Encrypt failures
Let's Encrypt failures
 

LUG-BG 2017 - Radoslav Kolev - Light model

  • 1. Колко програмисти са нужни за завиването на една крушка? … или колко време може да се забави избора и монтажа на няколко лампи. Радослав Колев <radoslav@kolev.info> LUG-BG среща 2017, Пловдив
  • 2. Сила на светлината и осветеност 1cd = 1/683 watts/steradian monochromatic light at 555nm total radiant flux would be about 18.40 mW
  • 3. Нива на осветеност Condition Illumination (lux) Sunlight 107527 Full Daylight 10752 Overcast Day 1075 Very Dark Day 107 Twilight 10.8 Deep Twilight 1.08 Full Moon 0.108 Quarter Moon 0.0108 Starlight 0.0011 Overcast Night 0.0001
  • 4. Величини и мерни единици Радиометрични Фотометрични Radiant flux (енергетичен поток) [watt] Luminous flux (светлинен поток) [lum] Radiant energy (лъчиста енергия) [joules] Luminous energy (светлинна енергия) [lum*sec] Irradiance (облъченост) [watt/m2] Illuminance (осветеност) [lux, lum/m2] Radiant emmitance (енергетична светимост) [watt/m2] Luminous emitance (светимост) [lm/m2] Radiant intensity (енергетичен интензитет) [watt/steradian] Luminous intensity (светлинен интензитет / сила на светлината) [candela, lum/steradian] Radiance (енергетична яркост/лъчистост) [watt/sr*m2] Luminance (яркост) [cd/m2], nits
  • 5. Препоръчани нива на осветеност Activity2 Illumination (lux, lumen/m2) Public areas with dark surroundings 20 - 50 Simple orientation for short visits 50 - 100 Working areas where visual tasks are only occasionally performed 100 - 150 Warehouses, Homes, Theaters, Archives 150 Easy Office Work, Classes 250 Normal Office Work, PC Work, Library, Show Rooms, Laboratories 500 Supermarkets, Mechanical Workshops, Office Landscapes 750 Normal Drawing Work, Detailed Mechanical Workshops, Operation Theaters 1000 Detailed Drawing Work, Very Detailed Mechanical Works 1500 - 2000
  • 6. Параметри ● Лампи – Мощност (W) – Ефективност (lum/W) – Индекс на цветопредаване CRI (0-100) – Цветна температура (K) ● Осветително тяло (luminaire) – максимална мощност, влагозащитеност, тип лампа ... – Разпределение на светлината в пространството и ефективност – файлови формати EULUMDAT и IES
  • 8. Визуализация на осветеност ● EULUMDAT → QlumEdit → awk → GNUPlot ● from matrix to x,y,z format for gnuplot: awk '{if (NR==1) {patsplit($0,a);} else for (i=2; i<=NF; i++) print $1 " " a[i-1] " " $i}' matrix.dat > plot.dat ● GNUPlot: getx(r,theta, phi)=(x=(r/cos(theta))*sin(theta)*cos(phi), x <=4 && x>=- 4 ? x : NaN) gety(r,theta, phi)=(y=(r/cos(theta)*sin(theta)*sin(phi)), y <=2 && y>=- 2 ? y : NaN) set angle deg set pm3d at b splot for[q in "-2 -1 1 2" ] "no-95-deg.dat" using ((abs(q)>=2? -1 : 1)*getx(r,$2,$1)):((q<0? -1 : 1)*gety(r,$2,$1)):($3*3.6):($3*3.6/(r*r)) every ::::30 with line
  • 9.
  • 10.