Skip to content

Instantly share code, notes, and snippets.

@AmritPatel
Created May 26, 2014 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmritPatel/ac77c1d20ad6893806b0 to your computer and use it in GitHub Desktop.
Save AmritPatel/ac77c1d20ad6893806b0 to your computer and use it in GitHub Desktop.
Delta-k-eff vs. Number of Fully Degraded Panels (BWR SFP)
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='http://ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
margin-left: auto;
margin-right: auto;
width: 800px;
height: 400px;
}
</style>
</head>
<body>
<div id='chart3f4e27e2e3b' class='rChart polycharts'></div>
<script type='text/javascript'>
var chartParams = {
"dom": "chart3f4e27e2e3b",
"width": 800,
"height": 400,
"layers": [
{
"x": "panels_deg",
"y": "dk",
"data": {
"panels_deg": [ 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 12, 20, 20, 20, 20, 20, 20, 40, 40, 40, 40, 40, 40, 80, 80, 80, 80, 80, 80, 200, 200, 200, 200, 200, 200 ],
"type": [ "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr", "bwr" ],
"solbor": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
"burnup": [ 12, 12, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35, 12, 12, 24, 24, 35, 35 ],
"vf": [ 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7, 0, 0.7 ],
"dk": [ 0, 0, 0.00249, 0.00293, 0.00229, 0.0012, 0.00037, 0.0009, 0.00541, 0.00601, 0.00457, 0.00402, 0.00167, 0.00215, 0.01644, 0.01563, 0.00933, 0.01094, 0.00485, 0.00635, 0.03344, 0.03277, 0.02015, 0.02158, 0.01014, 0.01305, 0.08096, 0.08044, 0.05749, 0.062, 0.03344, 0.04104, 0.11367, 0.11316, 0.08591, 0.091, 0.05613, 0.06517, 0.16071, 0.16058, 0.12857, 0.13527, 0.09081, 0.10217, 0.21311, 0.21088, 0.1786, 0.18577, 0.13654, 0.14961, 0.25116, 0.2503, 0.22095, 0.22551, 0.17623, 0.18979, 0.30305, 0.30109, 0.2926, 0.29277, 0.27956, 0.28143 ]
},
"facet": "vf",
"color": "burnup",
"type": "point",
"size": {
"const": 3
}
}
],
"facet": {
"type": "wrap",
"var": "vf"
},
"guides": {
"x": {
"min": 0,
"max": 210
},
"y": {
"min": 0,
"max": 0.35
}
},
"coord": [],
"title": "Delta-k-eff vs. Number of Fully Degraded Panels (BWR SFP)",
"id": "chart3f4e27e2e3b"
}
_.each(chartParams.layers, function(el){
el.data = polyjs.data(el.data)
})
var graph_chart3f4e27e2e3b = polyjs.chart(chartParams);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment