Index: DCWoRMS/trunk/example/experiment3/resources3.xml
===================================================================
--- DCWoRMS/trunk/example/experiment3/resources3.xml	(revision 526)
+++ DCWoRMS/trunk/example/experiment3/resources3.xml	(revision 529)
@@ -1,16 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/WormsResSchema.xsd">
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
 	
 	<!-- Data Center description with energy parameters -->
 	<resources>
 		<computingResource class="DataCenter" name="compRes">
+			<!-- Defined data center contains only 1 rack (if count attribute is not specified a default value=1 is assumed) -->
 			<computingResource class="Rack">
+				<!-- Rack consists of 4 computing nodes, 2 of one type and 2 of another -->
 				<computingResource class="ComputingNode" count="2">
 					<profile>
+						<!-- Definition of computing node power profile -->
 						<powerProfile>
+							<!-- Reference to energy usage estimation plugin -->
 							<energyEstimationPlugin>
 								<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
-							</energyEstimationPlugin>	
+							</energyEstimationPlugin>
+							<!-- Definition of supported power states and corresponding power consumption -->	
+							<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->
 							<powerStates>
 								<powerState>
@@ -25,10 +31,15 @@
 						</powerProfile>
 					</profile>
+					<!-- Each of 2 computing nodes contains 4 processors-->
 					<computingResource class="Processor" count="4">
 						<profile>
+							<!-- Definition of processor power profile -->
 							<powerProfile>
+								<!-- Reference to energy usage estimation plugin -->
 								<energyEstimationPlugin>
 									<name>example.energy.CPUEnergyEstimationPlugin</name>
 								</energyEstimationPlugin>		
+								<!-- Definition of supported p-states and corresponding frequency and voltage level and power consumption -->
+								<!-- Units according to the user interpretation -->
 								<parameter name="pState">
 									<property name="name">
@@ -93,8 +104,12 @@
 				<computingResource class="ComputingNode" count="2">
 					<profile>
+						<!-- Definition of computing node power profile -->
 						<powerProfile>
+							<!-- Reference to energy usage estimation plugin -->
 							<energyEstimationPlugin>
 								<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
 							</energyEstimationPlugin>	
+							<!-- Definition of supported power states and corresponding power consumption -->
+							<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->
 							<powerStates>
 								<powerState>
@@ -109,10 +124,15 @@
 						</powerProfile>
 					</profile>
+					<!-- Each of 2 computing nodes contains 4 processors-->
 					<computingResource class="Processor" count="4">
 						<profile>
+							<!-- Definition of processor power profile -->
 							<powerProfile>
+								<!-- Reference to energy usage estimation plugin -->
 								<energyEstimationPlugin>
 									<name>example.energy.CPUEnergyEstimationPlugin</name>
-								</energyEstimationPlugin>		
+								</energyEstimationPlugin>	
+								<!-- Definition of supported p-states and corresponding frequency and voltage level and power consumption -->
+								<!-- Units according to the user interpretation-->	
 								<parameter name="pState">
 									<property name="name">
@@ -178,8 +198,11 @@
 		</computingResource>
 		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<!-- Switch between scheduling/power management plugins to observe the difference in power consumption -->
 			<schedulingPlugin>
 				<name>example.localplugin.FCFSBF_ClusterPlugin</name>
 				<!--  <name>example.localplugin.FCFSBF_DFSClusterPlugin</name> -->
-			</schedulingPlugin>	
+			</schedulingPlugin>
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
 			<managedComputingResources include="false">
 				<resourceName>compRes</resourceName>
