예제 #1
0
 def Mixture():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(
         'REFPROP-MIX:R32[0.47319469]&R125[0.2051091]&R134a[0.32169621]',
         'TD')
     plt._plot_default_annotations()
     plt.show()
예제 #2
0
 def Isolines_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.set_axis_limits([-0.5, 1.5, 300, 530])
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.show()
예제 #3
0
 def Isolines_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.set_axis_limits([-0.5, 1.5, 300, 530])
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.show()
예제 #4
0
 def Graph_annotations():
     from CoolProp.Plots import PropsPlot, IsoLines
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.title('New Title')
     plt.xlabel('New x label')
     plt.ylabel('New y label')
     plt.show()
     plt = IsoLines(fluid_ref, 'Ts', 'P')
     plt.draw_isolines([100, 2000], num=5)
     plt.show()
예제 #5
0
 def Graph_annotations():
     from CoolProp.Plots import PropsPlot, IsoLines
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.title('New Title')
     plt.xlabel('New x label')
     plt.ylabel('New y label')
     plt.show()
     plt = IsoLines(fluid_ref, 'Ts', 'P')
     plt.draw_isolines([100, 2000], num=5)
     plt.show()
예제 #6
0
 def Ph_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ph')
     plt.show()
예제 #7
0
 def Mixture():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot('REFPROP-MIX:R32[0.47319469]&R125[0.2051091]&R134a[0.32169621]', 'TD')
     plt._plot_default_annotations()
     plt.show()
예제 #8
0
 def Ph_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ph')
     plt.show()