2020-11-15 15:39:05 +02:00
|
|
|
#!/usr/bin/python3
|
2020-11-16 22:37:41 +02:00
|
|
|
from math import pi
|
2020-11-14 19:28:18 +02:00
|
|
|
|
2020-11-16 22:37:41 +02:00
|
|
|
def nupjauto_kugio_turis(h, d1, d2):
|
|
|
|
r1, r2 = d1/2, d2/2
|
|
|
|
return pi/3*h*(r1**2 + r1*r2 + r2**2)
|
2020-11-14 19:28:18 +02:00
|
|
|
|
2020-11-16 22:48:30 +02:00
|
|
|
t1_storgalio_apimtis_su_zieve=119.4 # cm
|
|
|
|
t1_plongalio_apimtis_su_zieve=46.2 # cm
|
|
|
|
t1_storgalio_skersmuo_su_zieve=t1_storgalio_apimtis_su_zieve/pi # cm
|
|
|
|
t1_plongalio_skersmuo_su_zieve=t1_plongalio_apimtis_su_zieve/pi # cm
|
2020-11-15 15:39:05 +02:00
|
|
|
|
2020-11-16 22:48:30 +02:00
|
|
|
t1_rastu_kiekis=5
|
|
|
|
t1_rastu_ilgis=5.38 # m
|
2020-11-16 23:00:10 +02:00
|
|
|
t1_storgalio_zieves_storis=10.0 # mm
|
|
|
|
t1_plongalio_zieves_storis=7.5 # mm
|
2020-11-16 22:48:30 +02:00
|
|
|
t1_storgalio_skersmuo_be_zieves=round(t1_storgalio_skersmuo_su_zieve-t1_storgalio_zieves_storis/10*2+.5) # cm
|
|
|
|
t1_plongalio_skersmuo_be_zieves=round(t1_plongalio_skersmuo_su_zieve-t1_plongalio_zieves_storis/10*2+.5) # cm
|
2020-11-16 22:37:41 +02:00
|
|
|
|
2020-11-16 22:48:30 +02:00
|
|
|
t1_vieno_rasto_turis=nupjauto_kugio_turis(t1_rastu_ilgis, t1_plongalio_skersmuo_be_zieves/100, t1_storgalio_skersmuo_be_zieves/100) # m3
|
|
|
|
t1_visu_rastu_turis=t1_vieno_rasto_turis*t1_rastu_kiekis # m3
|
|
|
|
t1_medienos_svoris=800 # kg/m3
|
|
|
|
t1_visu_rastu_svoris=t1_visu_rastu_turis*t1_medienos_svoris # kg
|
|
|
|
t1_gaunamas_popieriaus_kiekis_perc=6.82 # [0-100]%
|
|
|
|
t1_gaunamas_popieriaus_kiekis_trupm=t1_gaunamas_popieriaus_kiekis_perc/100 # [0-1]
|
|
|
|
t1_medienos_svoris_popieriaus_gaminimui=t1_visu_rastu_svoris*t1_gaunamas_popieriaus_kiekis_trupm # kg
|
|
|
|
t1_popieriaus_tankis=0.09 # kg/m2
|
|
|
|
t1_viso_pagaminto_popieriaus_plotas=t1_medienos_svoris_popieriaus_gaminimui/t1_popieriaus_tankis # m2
|
|
|
|
t1_vieno_lapo_plotas=.75*.9 # m2
|
|
|
|
t1_pagaminta_popieriaus_lapu=int(t1_viso_pagaminto_popieriaus_plotas/t1_vieno_lapo_plotas) # kiekis
|
2020-11-16 22:37:41 +02:00
|
|
|
|
2020-11-16 23:01:07 +02:00
|
|
|
tpl1="""Uzduoties Nr.
|
2020-11-14 19:28:18 +02:00
|
|
|
ZPT003_2020_02
|
|
|
|
Skaiciavo(Pavarde Vardas):
|
|
|
|
Jakstys_Motiejus
|
|
|
|
==== POPIERIUS ====
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo popieriaus pavadinimas pvz. ULTRA/62 (duota)
|
2020-11-14 19:28:18 +02:00
|
|
|
Ultra3C
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo popieriaus lapo plotis W (mm)
|
2020-11-15 15:39:05 +02:00
|
|
|
750
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo popieriaus lapo ilgis L (mm)
|
2020-11-15 15:39:05 +02:00
|
|
|
900
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo popieriaus metro kv. svoris (g/m2)
|
2020-11-15 15:39:05 +02:00
|
|
|
95
|
2020-11-16 23:01:07 +02:00
|
|
|
1. Popierius gaminamas is medienos pvz. AZUOLAS (duota)
|
2020-11-15 15:39:05 +02:00
|
|
|
Baltalksnis
|
2020-11-16 23:01:07 +02:00
|
|
|
Popieriaus gamybos metodas (nurodytas)
|
2020-11-15 15:39:05 +02:00
|
|
|
Cheminis/Sulfitinis
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu kiekis (duotas)
|
2020-11-15 15:39:05 +02:00
|
|
|
5
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio apimtis cm (0.0) (duota)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_storgalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio apimtis cm (0.0) (duota)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_plongalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu ilgis (duotas)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_rastu_ilgis:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
== Skaiciavimai ==
|
|
|
|
Apskaiciuotas STORGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_storgalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_storgalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio skersmuo (be zv.) su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_storgalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Apskaiciuotas PLONGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_plongalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_plongalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio (be zv.) skersmuo su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_plongalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VIENO rasto turis (0.000 m3 tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_vieno_rasto_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VISU rastu turis (0.000 m3 tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_visu_rastu_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Visu rastu Medienos svoris (0.000 kg tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_visu_rastu_svoris:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Gaunamas popieriaus kiekis priklausomai muo gamybos metodo (% duota)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_gaunamas_popieriaus_kiekis_perc:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Medienos svoris popieriaus gaminimui (0.000 kg tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_medienos_svoris_popieriaus_gaminimui:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Viso pagaminto popieriaus plotas (0.000 m2 tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_viso_pagaminto_popieriaus_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Vieno gaminamo lapo plotas (0.000 m2 tikslumu)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_vieno_lapo_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Pagaminta popieriaus lapu (vnt.)
|
2020-11-16 22:48:30 +02:00
|
|
|
{t1_pagaminta_popieriaus_lapu}"""
|
|
|
|
print(tpl1.format(**(dict(locals()))))
|
2020-11-16 22:52:47 +02:00
|
|
|
|
|
|
|
t2_storgalio_apimtis_su_zieve=136.7 # cm
|
|
|
|
t2_plongalio_apimtis_su_zieve=58.7 # cm
|
|
|
|
t2_storgalio_skersmuo_su_zieve=t2_storgalio_apimtis_su_zieve/pi # cm
|
|
|
|
t2_plongalio_skersmuo_su_zieve=t2_plongalio_apimtis_su_zieve/pi # cm
|
|
|
|
|
|
|
|
t2_rastu_kiekis=3
|
2020-11-16 23:00:10 +02:00
|
|
|
t2_rastu_ilgis=4.5 # m
|
|
|
|
t2_storgalio_zieves_storis=21.6 # mm
|
|
|
|
t2_plongalio_zieves_storis=11.6 # mm
|
2020-11-16 22:52:47 +02:00
|
|
|
t2_storgalio_skersmuo_be_zieves=round(t2_storgalio_skersmuo_su_zieve-t2_storgalio_zieves_storis/10*2+.5) # cm
|
|
|
|
t2_plongalio_skersmuo_be_zieves=round(t2_plongalio_skersmuo_su_zieve-t2_plongalio_zieves_storis/10*2+.5) # cm
|
|
|
|
|
|
|
|
t2_vieno_rasto_turis=nupjauto_kugio_turis(t2_rastu_ilgis, t2_plongalio_skersmuo_be_zieves/100, t2_storgalio_skersmuo_be_zieves/100) # m3
|
|
|
|
t2_visu_rastu_turis=t2_vieno_rasto_turis*t2_rastu_kiekis # m3
|
2020-11-16 23:00:10 +02:00
|
|
|
t2_medienos_svoris=794 # kg/m3
|
2020-11-16 22:52:47 +02:00
|
|
|
t2_visu_rastu_svoris=t2_visu_rastu_turis*t2_medienos_svoris # kg
|
2020-11-17 11:32:17 +02:00
|
|
|
t2_gaunamas_popieriaus_kiekis_perc=9.74 # [0-100]%
|
2020-11-16 22:52:47 +02:00
|
|
|
t2_gaunamas_popieriaus_kiekis_trupm=t2_gaunamas_popieriaus_kiekis_perc/100 # [0-1]
|
|
|
|
t2_medienos_svoris_popieriaus_gaminimui=t2_visu_rastu_svoris*t2_gaunamas_popieriaus_kiekis_trupm # kg
|
|
|
|
t2_popieriaus_tankis=0.09 # kg/m2
|
|
|
|
t2_viso_pagaminto_popieriaus_plotas=t2_medienos_svoris_popieriaus_gaminimui/t2_popieriaus_tankis # m2
|
|
|
|
t2_vieno_lapo_plotas=.75*.9 # m2
|
|
|
|
t2_pagaminta_popieriaus_lapu=int(t2_viso_pagaminto_popieriaus_plotas/t2_vieno_lapo_plotas) # kiekis
|
|
|
|
|
|
|
|
|
2020-11-16 23:01:07 +02:00
|
|
|
tpl2="""2. Popierius gaminamas is medienos pvz. AZUOLAS (duota)
|
2020-11-16 22:52:47 +02:00
|
|
|
Egle
|
2020-11-16 23:01:07 +02:00
|
|
|
Popieriaus gamybos metodas (nurodytas)
|
2020-11-16 22:52:47 +02:00
|
|
|
Mechaninis/Cheminis
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu kiekis (duotas)
|
2020-11-16 22:52:47 +02:00
|
|
|
3
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio apimtis cm (0.0) (duota)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_storgalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio apimtis cm (0.0) (duota)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_plongalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu ilgis (duotas)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_rastu_ilgis:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
== Skaiciavimai ==
|
|
|
|
Apskaiciuotas STORGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_storgalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_storgalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio skersmuo (be zv.) su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_storgalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Apskaiciuotas PLONGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_plongalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_plongalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio (be zv.) skersmuo su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_plongalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VIENO rasto turis (0.000 m3 tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_vieno_rasto_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VISU rastu turis (0.000 m3 tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_visu_rastu_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Visu rastu Medienos svoris (0.000 kg tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_visu_rastu_svoris:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Gaunamas popieriaus kiekis priklausomai muo gamybos metodo (% duota)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_gaunamas_popieriaus_kiekis_perc:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Medienos svoris popieriaus gaminimui (0.000 kg tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_medienos_svoris_popieriaus_gaminimui:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Viso pagaminto popieriaus plotas (0.000 m2 tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_viso_pagaminto_popieriaus_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Vieno gaminamo lapo plotas (0.000 m2 tikslumu)
|
2020-11-16 22:52:47 +02:00
|
|
|
{t2_vieno_lapo_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Pagaminta popieriaus lapu (vnt.)
|
2020-11-16 23:00:10 +02:00
|
|
|
{t2_pagaminta_popieriaus_lapu}"""
|
|
|
|
print(tpl2.format(**(dict(locals()))))
|
|
|
|
|
2020-11-17 11:32:17 +02:00
|
|
|
t12_isviso_pagaminta_lapu=int(t1_pagaminta_popieriaus_lapu+t2_pagaminta_popieriaus_lapu) # vnt
|
|
|
|
t12_popieriaus_gamybos_kaina=969.42 # eur
|
|
|
|
t12_vieno_popieriaus_lapo_savikaina=t12_popieriaus_gamybos_kaina/t12_isviso_pagaminta_lapu # eur
|
2020-11-16 23:00:10 +02:00
|
|
|
|
2020-11-16 23:01:07 +02:00
|
|
|
tpl12="""== APIBENDRINIMAS ==
|
|
|
|
Isviso pagaminta popieriaus lapu (vnt.)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t12_isviso_pagaminta_lapu}
|
2020-11-16 23:01:07 +02:00
|
|
|
Popieriaus gamybos kaina Eu (duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t12_popieriaus_gamybos_kaina:.2f}
|
2020-11-16 23:01:07 +02:00
|
|
|
Vieno popieriaus lapo savikaina (0.00 Eu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t12_vieno_popieriaus_lapo_savikaina:.2f}"""
|
2020-11-16 23:00:10 +02:00
|
|
|
print(tpl12.format(**(dict(locals()))))
|
|
|
|
|
2020-11-16 23:20:49 +02:00
|
|
|
|
|
|
|
t3_gaminamo_kartono_plotis=500 # mm
|
|
|
|
t3_gaminamo_kartono_ilgis=700 # mm
|
|
|
|
t3_gaminamo_kartono_metro_svoris=330 # g/m2
|
|
|
|
t3_rastu_kiekis=6
|
|
|
|
t3_storgalio_apimtis_su_zieve=121.0 # cm
|
|
|
|
t3_plongalio_apimtis_su_zieve=13.2 # cm
|
|
|
|
t3_rastu_ilgis=3.46
|
|
|
|
|
|
|
|
t3_storgalio_skersmuo_su_zieve=t3_storgalio_apimtis_su_zieve/pi # cm
|
|
|
|
t3_plongalio_skersmuo_su_zieve=t3_plongalio_apimtis_su_zieve/pi # cm
|
|
|
|
t3_storgalio_zieves_storis=25.8
|
|
|
|
t3_storgalio_skersmuo_be_zieves=round(t3_storgalio_skersmuo_su_zieve-t3_storgalio_zieves_storis/10*2+.5) # cm
|
|
|
|
t3_plongalio_zieves_storis=5.0
|
|
|
|
t3_plongalio_skersmuo_be_zieves=round(t3_plongalio_skersmuo_su_zieve-t3_plongalio_zieves_storis/10*2+.5) # cm
|
|
|
|
|
|
|
|
t3_vieno_rasto_turis=nupjauto_kugio_turis(t3_rastu_ilgis, t3_plongalio_skersmuo_be_zieves/100, t3_storgalio_skersmuo_be_zieves/100) # m3
|
|
|
|
t3_visu_rastu_turis=t3_vieno_rasto_turis*t3_rastu_kiekis # m3
|
|
|
|
|
|
|
|
t3_medienos_svoris=762
|
|
|
|
t3_visu_rastu_svoris=t3_visu_rastu_turis*t3_medienos_svoris # kg
|
2020-11-17 11:32:17 +02:00
|
|
|
t3_gaunamas_popieriaus_kiekis_perc=28.11 # [0-100]%
|
2020-11-16 23:20:49 +02:00
|
|
|
t3_gaunamas_popieriaus_kiekis_trupm=t3_gaunamas_popieriaus_kiekis_perc/100 # [0-1]
|
|
|
|
t3_medienos_svoris_popieriaus_gaminimui=t3_visu_rastu_svoris*t3_gaunamas_popieriaus_kiekis_trupm # kg
|
|
|
|
t3_popieriaus_tankis=0.09 # kg/m2
|
|
|
|
t3_viso_pagaminto_popieriaus_plotas=t3_medienos_svoris_popieriaus_gaminimui/t3_popieriaus_tankis # m2
|
|
|
|
t3_vieno_lapo_plotas=.75*.9 # m2
|
|
|
|
t3_pagaminta_popieriaus_lapu=int(t3_viso_pagaminto_popieriaus_plotas/t3_vieno_lapo_plotas) # kiekis
|
|
|
|
|
|
|
|
tpl3="""==== KNYGINIS KARTONAS ====
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo kartono pavadinimas pvz. REX/1 (duota)
|
2020-11-16 23:20:49 +02:00
|
|
|
SRA2/2
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo kartono lapo plotis W (mm)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_gaminamo_kartono_plotis}
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo kartono lapo ilgis L (mm)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_gaminamo_kartono_ilgis}
|
2020-11-16 23:01:07 +02:00
|
|
|
Gaminamo kartono metro kv. svoris (g/m2)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_gaminamo_kartono_metro_svoris}
|
2020-11-16 23:01:07 +02:00
|
|
|
1. Kartonas gaminamas is medienos pvz. AZUOLAS (duota)
|
2020-11-16 23:20:49 +02:00
|
|
|
Drebule
|
2020-11-16 23:01:07 +02:00
|
|
|
kartono gamybos metodas (nurodytas)
|
2020-11-16 23:20:49 +02:00
|
|
|
Mechaninis
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu kiekis (duotas)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_rastu_kiekis}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio apimtis su zieve cm (0.0) (duota)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_storgalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio apimtis su zieve cm (0.0) (duota)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_plongalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu ilgis (duotas)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_rastu_ilgis:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
== Skaiciavimai ==
|
|
|
|
Apskaiciuotas STORGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_storgalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_storgalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio skersmuo (be zv.) su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_storgalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Apskaiciuotas PLONGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_plongalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_plongalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio (be zv.) skersmuo su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_plongalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VIENO rasto turis (0.000 m3 tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_vieno_rasto_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VISU rastu turis (0.000 m3 tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_visu_rastu_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Visos rastu Medienos svoris (0.000 kg tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_visu_rastu_svoris:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Gaunamas kartono kiekis muo medienos svorio (% duota)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_gaunamas_popieriaus_kiekis_perc:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Medienos svoris kartono gaminimui (0.000 kg tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_medienos_svoris_popieriaus_gaminimui:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Viso pagaminto kartono plotas (0.000 m2 tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_viso_pagaminto_popieriaus_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Vieno gaminamo lapo plotas (0.000 m2 tikslumu)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_vieno_lapo_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Pagaminta kartono lapu (vnt.)
|
2020-11-16 23:20:49 +02:00
|
|
|
{t3_pagaminta_popieriaus_lapu}"""
|
|
|
|
print(tpl3.format(**(dict(locals()))))
|
|
|
|
|
2020-11-17 11:32:17 +02:00
|
|
|
t4_gaminamo_kartono_plotis=500 # mm
|
|
|
|
t4_gaminamo_kartono_ilgis=700 # mm
|
|
|
|
t4_gaminamo_kartono_metro_svoris=330 # g/m2
|
|
|
|
t4_rastu_kiekis=9
|
|
|
|
t4_storgalio_apimtis_su_zieve=148.6 # cm
|
|
|
|
t4_plongalio_apimtis_su_zieve=30.2 # cm
|
|
|
|
t4_rastu_ilgis=5.2
|
|
|
|
|
|
|
|
t4_storgalio_skersmuo_su_zieve=t4_storgalio_apimtis_su_zieve/pi # cm
|
|
|
|
t4_plongalio_skersmuo_su_zieve=t4_plongalio_apimtis_su_zieve/pi # cm
|
|
|
|
t4_storgalio_zieves_storis=48.4 # mm
|
|
|
|
t4_storgalio_skersmuo_be_zieves=round(t4_storgalio_skersmuo_su_zieve-t4_storgalio_zieves_storis/10*2+.5) # cm
|
|
|
|
t4_plongalio_zieves_storis=7.0 # mm
|
|
|
|
t4_plongalio_skersmuo_be_zieves=round(t4_plongalio_skersmuo_su_zieve-t4_plongalio_zieves_storis/10*2+.5) # cm
|
|
|
|
|
|
|
|
t4_vieno_rasto_turis=nupjauto_kugio_turis(t4_rastu_ilgis, t4_plongalio_skersmuo_be_zieves/100, t4_storgalio_skersmuo_be_zieves/100) # m3
|
|
|
|
t4_visu_rastu_turis=t4_vieno_rasto_turis*t4_rastu_kiekis # m3
|
|
|
|
|
|
|
|
t4_medienos_svoris=878
|
|
|
|
t4_visu_rastu_svoris=t4_visu_rastu_turis*t4_medienos_svoris # kg
|
|
|
|
t4_gaunamas_popieriaus_kiekis_perc=11.79 # [0-100]%
|
|
|
|
t4_gaunamas_popieriaus_kiekis_trupm=t4_gaunamas_popieriaus_kiekis_perc/100 # [0-1]
|
|
|
|
t4_medienos_svoris_popieriaus_gaminimui=t4_visu_rastu_svoris*t4_gaunamas_popieriaus_kiekis_trupm # kg
|
|
|
|
t4_popieriaus_tankis=0.09 # kg/m2
|
|
|
|
t4_viso_pagaminto_popieriaus_plotas=t4_medienos_svoris_popieriaus_gaminimui/t4_popieriaus_tankis # m2
|
|
|
|
t4_vieno_lapo_plotas=.75*.9 # m2
|
|
|
|
t4_pagaminta_popieriaus_lapu=int(t4_viso_pagaminto_popieriaus_plotas/t4_vieno_lapo_plotas) # kiekis
|
|
|
|
|
|
|
|
|
2020-11-16 23:20:49 +02:00
|
|
|
tpl4="""2. Kartonas gaminamas is medienos pvz. AZUOLAS (duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
Berzas
|
2020-11-16 23:01:07 +02:00
|
|
|
kartono gamybos metodas (nurodytas)
|
2020-11-17 11:32:17 +02:00
|
|
|
Cheminis/Sulfatinis
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu kiekis (duotas)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_rastu_kiekis}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio apimtis su zieve cm (0.0) (duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_storgalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio apimtis su zieve cm (0.0) (duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_plongalio_apimtis_su_zieve:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Rastu ilgis (duotas)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_rastu_ilgis:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
== Skaiciavimai ==
|
|
|
|
Apskaiciuotas STORGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_storgalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_storgalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Storgalio skersmuo (be zv.) su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_storgalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Apskaiciuotas PLONGALIO skersmuo su zieve (0.00 cm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_plongalio_skersmuo_su_zieve:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio zieves storis (is lenteles 0.0 mm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_plongalio_zieves_storis:.1f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Plongalio (be zv.) skersmuo su pataisa del rasto nelygumo (0.00 cm tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_plongalio_skersmuo_be_zieves:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VIENO rasto turis (0.000 m3 tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_vieno_rasto_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
VISU rastu turis (0.000 m3 tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_visu_rastu_turis:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Visos rastu Medienos svoris (0.000 kg tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_visu_rastu_svoris:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Gaunamas kartono kiekis muo medienos svorio (% duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_gaunamas_popieriaus_kiekis_perc:.2f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Medienos svoris kartono gaminimui (0.000 kg tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_medienos_svoris_popieriaus_gaminimui:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Viso pagaminto kartono plotas (0.000 m2 tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_viso_pagaminto_popieriaus_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Vieno gaminamo lapo plotas (0.000 m2 tikslumu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_vieno_lapo_plotas:.3f}
|
2020-11-14 19:28:18 +02:00
|
|
|
Pagaminta kartono lapu (vnt.)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t4_pagaminta_popieriaus_lapu}"""
|
2020-11-16 23:20:49 +02:00
|
|
|
print(tpl4.format(**(dict(locals()))))
|
|
|
|
|
2020-11-17 11:32:17 +02:00
|
|
|
t34_isviso_pagaminta_lapu=int(t3_pagaminta_popieriaus_lapu+t4_pagaminta_popieriaus_lapu) # vnt
|
|
|
|
t34_popieriaus_gamybos_kaina=969.42 # eur
|
|
|
|
t34_vieno_popieriaus_lapo_savikaina=t34_popieriaus_gamybos_kaina/t34_isviso_pagaminta_lapu # eur
|
|
|
|
|
2020-11-16 23:20:49 +02:00
|
|
|
tpl34="""== APIBENDRINIMAS ==
|
2020-11-16 23:01:07 +02:00
|
|
|
Isviso pagaminta kartono lapu (vnt.)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t34_isviso_pagaminta_lapu}
|
2020-11-16 23:01:07 +02:00
|
|
|
kartono gamybos kaina Eu (duota)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t34_popieriaus_gamybos_kaina:.2f}
|
2020-11-16 23:01:07 +02:00
|
|
|
Vieno kartono lapo savikaina (0.00 Eu)
|
2020-11-17 11:32:17 +02:00
|
|
|
{t34_vieno_popieriaus_lapo_savikaina:.2f}"""
|
2020-11-16 23:20:49 +02:00
|
|
|
print(tpl34.format(**(dict(locals()))))
|