by @Richard Martinez Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_af737afc_53c3_44bc_9809_a206e060f6d9"},{"@type":"Declare","tpe":"Real","name":"ta","id":"id_5b9ae599_26ea_42ae_bec6_bcf7b37e0e2b","initValue":null},{"@type":"Input","name":"ta","id":"id_10555971_44d4_489a_b679_0dcf2aa73f10","prompt":null},{"@type":"Declare","tpe":"Real","name":"td","id":"id_a678a5a9_cce9_49c8_8c5c_cedefa53a9b0","initValue":null},{"@type":"Input","name":"td","id":"id_9c6fd1ac_87cd_4c4a_ae37_1c0923045ff1","prompt":null},{"@type":"Declare","tpe":"Real","name":"r","id":"id_aba2f4c5_31ad_429a_919d_3096596b24a5","initValue":"(-0.1*td)"},{"@type":"Declare","tpe":"Real","name":"R","id":"id_67f95038_c5f6_41ef_acf9_26bff08385f9","initValue":"(0.1*td)"},{"@type":"Declare","tpe":"Real","name":"kp","id":"id_136138c3_1b18_4649_8344_8048e36a6069","initValue":"0.1"},{"@type":"Declare","tpe":"Real","name":"t","id":"id_d8056b6b_2102_413b_b35a_fecb366bb320","initValue":"0"},{"condition":"r>ta or ta > R","@type":"While","id":"id_b27cd57f_d889_44d4_ab6c_d9d293a2fc7c","body":{"statements":[{"@type":"Declare","tpe":"Real","name":"pot","id":"id_0548d665_c33b_4d3c_9b2b_b2757a55c610","initValue":"kp*(td-ta)"},{"@type":"Assign","name":"t","id":"id_f292e314_9131_45d8_a158_26bdd2144072","value":"pot"},{"newline":true,"@type":"Output","id":"id_fb88fe9d_6673_4d3a_a8c0_947116a13bfb","value":"\"la temperatura ajustada es de {T}\""}],"id":"id_6b542282_b9d0_4821_865c_5fc8a543c7aa"}},{"newline":true,"@type":"Output","id":"id_71e5061c_9dbc_4d4f_8c2b_53098381b517","value":"\"la temperatura está dentro de lo deseado\""},{"@type":"Return","id":"id_36b6c9f8_a069_40aa_91b6_99284860f238","maybeValue":null}],"parameters":[]},"id":"id_9adae5ea_1c2b_42dd_8416_638930af9dd4","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":696}