public static String createDeploymentDiagram(SoftwareSystem system, String id, String name, boolean withRespectToEP) {
		String deploymentDiagram = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
		deploymentDiagram += "<uml:Model xmi:version=\"" + Utils.getVersionFromDate() + "\" xmlns:xmi=\"http://www.omg.org/spec/XMI/20110701\" xmlns:uml=\"http://www.eclipse.org/uml2/4.0.0/UML\" xmi:id=\"" + id + "\" name=\"" + name + "\">\n";
		for (HardwareSetAlternative hardwareSetAlternative : system.getHardwareSystem().getHardwareSetAlternatives())
			if (withRespectToEP)
				deploymentDiagram += createDevice(hardwareSetAlternative, system.getDeploymentEP());
			else
				deploymentDiagram += createDevice(hardwareSetAlternative, system.getDeploymentW());
		deploymentDiagram += "</uml:Model>";
		return deploymentDiagram;
	}