Please try to read the following article to study the basic of cooperative decode and forward relaying. What kind of performance metrics (capacity, outage or BER/SER) do you want to simulate?
Article Cooperative Diversity in Wireless Networks: Efficient Protoc...